Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp356596imd; Sat, 3 Nov 2018 01:42:05 -0700 (PDT) X-Google-Smtp-Source: AJdET5eoLt8mLVOx0pg4HV4l+PEjfmEdlrieiDsir8LzpYlENU0cBPTBV3oC4dluBiXxcUxkyIrn X-Received: by 2002:a17:902:b405:: with SMTP id x5-v6mr8470239plr.4.1541234525632; Sat, 03 Nov 2018 01:42:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541234525; cv=none; d=google.com; s=arc-20160816; b=fUN4yjFLO1tv6daca+Oau9r4acW/ur5Bdss/zDGsvjQazu+T1i6WcaZTjuIBZR4PzH DjJfoqCNPLSy+9uuBE/cjjvYCY8tmxuQzslKoKrpBCbCOJK99cRnBZgJqGhwl71GL+eb hm3M/f3d8jwhf56zlQZLGfY3N+U9Ew+rn8sZ+Lye2lOAFc7qgVVI5yWNVNmTku51PeXr yh+DPUCIgKPgdoftHhh5CeNROY0683jWr6Gw4H1qLbly+6XKoYNeANk1ikUl6HkDyw+N VoUdO/ahpyP9GXFFuBYbFz6FK75JI5f8Qq1hvqtZuQim6gIojuBd/aBfAukZJR33oQ6W xBdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature; bh=8h3CNTWPb6Lvcnin7naV/pZKs8madyTgpUWU5jCTMvY=; b=OuQNuBVB+GtM+7YDEvm/OKRhNFh7EMGE1Hpr2nF3yBMUc4fB28hSOKi10ttdNvKrcj QRlYmrQmGi98VdfOij/GfW1+Fl52phC1VPC555k6cj03WYxTZRuSRFdwi8kE3OiEqW8W vC4WdCVFQmljlO2pNbTDiKJeAvQXhYQ3rM5rY62I+v5rXPOZ7djX11dSJqEy4rM5ad7w K6XJiMJ04uU9R5RcNz5QjVwYjcUJutcfYPZXy6AcQ3kubrURZcjgOYJMFTfjbSnNtgWF JxrT4sRGsOqGCKX9SlG4iU5gG6fXd2ChTpkEz0PymT9/9VouKZnoK5sj/fyOURbSiHqO JWGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=k6A35Quw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d12-v6si11317851pla.24.2018.11.03.01.41.16; Sat, 03 Nov 2018 01:42:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=k6A35Quw; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727454AbeKCRsA (ORCPT + 99 others); Sat, 3 Nov 2018 13:48:00 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:39748 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbeKCRr7 (ORCPT ); Sat, 3 Nov 2018 13:47:59 -0400 Received: by mail-pf1-f193.google.com with SMTP id n11-v6so2087440pfb.6; Sat, 03 Nov 2018 01:37:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=8h3CNTWPb6Lvcnin7naV/pZKs8madyTgpUWU5jCTMvY=; b=k6A35QuwuUANaP/GQh4gfcj0qbVQQhwfiLyLXGFJ3/rXBqWY9SzEZN+SZb/xjdL7nd yvzHYuCnMF4VDmrF4VYhtgLz0PUcSCpyozUF/ozYBS7sN2/oNCmGBO8dzTw/5llzHge0 g+zs/tTgJudZlZLTSSbca2yHxzWwxAYHlEqmZRII+xXznlq6wuGMv2wh2Aart1fhYWH2 9KlAKLVwrRg+WZbUhr/ZRqYeP5GJFyMFANlMnp1t586dckNDF74yxUuO2u9CRjtknENM CzN9WEOq1fSLBLFnmOx8CXOElUbRPuoM1PlJhMweyUUmQgBDAdL1SoTOmTyGHwt1GEH/ pjbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8h3CNTWPb6Lvcnin7naV/pZKs8madyTgpUWU5jCTMvY=; b=ov6vceyAT0VN7wSZuIww0KWjpDmi3ZBZsb8rbmg6gUGLQEd8kn/9HAZglCPaUVMCU+ EqJH6bw2hpSvcEn6PeRg/TGlUR1GBswJZwHCwPMkwmJAJXVlqCZuMHoBm2RDfbIOWN6g EAHlUKSQVj4pS2D6AIdYBW4jsYWxhZyWCiUtzFXwM48Lwb3im+IKUBGij4rSZ0NnLb4L 0nNPkZDQVuaadI7BdZjJR73EXt3t70bWyhFis3MzlOpPzFxvS39bq/KyhQ2I/tkloyy5 6//cuuoEPfDRSumKUSzOU8kPtCO7riXVIfrES51UxBY0JKZAr8latwTmiGCfqHPDlfvG lnNg== X-Gm-Message-State: AGRZ1gKU/EBiE5+40zdAu2kU6KauFSozehvapapZSq/jgyoiv54AIdSa cJF9F2IxVIhquMb703HP4nuPiqZWH+I= X-Received: by 2002:a63:1342:: with SMTP id 2-v6mr13435345pgt.19.1541234246249; Sat, 03 Nov 2018 01:37:26 -0700 (PDT) Received: from localhost.localdomain ([45.56.155.205]) by smtp.gmail.com with ESMTPSA id t4-v6sm38185543pfh.45.2018.11.03.01.37.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Nov 2018 01:37:25 -0700 (PDT) From: hmsjwzb Cc: clm@fb.com, hmsjwzb , Josef Bacik , David Sterba , Omar Sandoval , Filipe Manana , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Change the total_dirty from SZ_256M to SZ_64M. Date: Sat, 3 Nov 2018 16:36:53 +0800 Message-Id: <20181103083654.655-1-weizhefix@gmail.com> X-Mailer: git-send-email 2.17.1 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The SZ_256M will cause trouble in platform with less than 256M memory. For example, a qemu virtual machine. Signed-off-by: hmsjwzb --- fs/btrfs/tests/extent-io-tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/btrfs/tests/extent-io-tests.c b/fs/btrfs/tests/extent-io-tests.c index 9e0f4a01be14..cb23dce96a2d 100644 --- a/fs/btrfs/tests/extent-io-tests.c +++ b/fs/btrfs/tests/extent-io-tests.c @@ -62,7 +62,7 @@ static int test_find_delalloc(u32 sectorsize) struct page *page; struct page *locked_page = NULL; unsigned long index = 0; - u64 total_dirty = SZ_256M; + u64 total_dirty = SZ_64M; u64 max_bytes = SZ_128M; u64 start, end, test_start; u64 found; -- 2.17.1