Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp908107pxf; Thu, 1 Apr 2021 17:43:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWAOdEXZI3SUWm1YUouFZ7O3ZAwGEzUO4t6MdgzurKif3A2UAWfcmDRpVWjnTiB8p79KNe X-Received: by 2002:aa7:d296:: with SMTP id w22mr13456997edq.150.1617324230793; Thu, 01 Apr 2021 17:43:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617324230; cv=none; d=google.com; s=arc-20160816; b=x+B5xbyJfHuxz4x2lrZ2yRjaz/cfVBovLwyOatp9BqArRT7kXqpJZhFSJ1KItouMWp iigOOpDahXK4/jE1aOrvwgEEGFIaMTdH+OYoo0KJvRaY0Qc1Clc196ol7uLxMVUCiSsh ALw+00TRCX4lK70nCT7Czv6PqFeJrosqWKa0tyK9dL7ZfFpQsOkTxYsDdCMmDF4BNyTE uYMq0GHC3Ysq3gRv7xPV1epo7JeqxutSuYZPPjnU7GZcTdAyE4lifdUneCieRcMjkgQ8 HskrAn05a+iM+VDDzCtvAhHa9cpBGQLJ9sW91X7BhMntPF/M5uYEXHNVxeiV0eqw/bkt 2dRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Wwpn0Hhu1K+f/ZqarUaQ9F7glr1MeT9c3lShxBFNqeg=; b=tWQHbTTkWclDqqTxFAkQpNEEq9VqJWTGY76sDQDFg4oiEGzIQqp+9r4F9WshyIVwTZ 82x6WOh5i17JWfJaRSd9sXR6+Q9jKBtT5zg5+ngwF+g1NCeAVKduhOaXagjJ0V4GjMzR riHTjHWQPVhRgkTF7SL83qY8D5ZGqT76a7IGQin2fhOqc0v2wXYArhRQA2YHUQ5exT+h WHO85bzIUn9zVVtpNRPaoco91WfHwwiVICK2OSA1lF1SVRjCf5HjLkIFjsTrRKAC96bs VFNdkD23sJ6NdC8TOyX+SlLVSPUKhBvvIKe6yosMnY0bTnW+xthgxx2F+MGPSoEEVjQ+ qirA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="sY/UaNb+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly21si5381841ejb.128.2021.04.01.17.43.26; Thu, 01 Apr 2021 17:43:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="sY/UaNb+"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233637AbhDBAmh (ORCPT + 99 others); Thu, 1 Apr 2021 20:42:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:39738 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231160AbhDBAmg (ORCPT ); Thu, 1 Apr 2021 20:42:36 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9409D61139; Fri, 2 Apr 2021 00:42:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1617324156; bh=SPMgnl2lvjKL7Nrcau9zmsRqNKdUgqnXCr8UGhAzo9Y=; h=From:To:Cc:Subject:Date:From; b=sY/UaNb+etD7V3umzRPHbLO+NlxgkPixM8MEF4lv4MlTs8JuvJI+/85K8PHLF2pq/ AD7DxDa22Lhy/PIEhM2dMXlUQX3dbXiU9UUg2fZhhnUAEMSmncI7Iz3iQxGkdoaDIg txppSVRcSHjpOwezLXfRvwu0A6wq2MYka4XEEZauS1r7i2kM7mlRIX7iZISucPX+0d brm3+/eW4JkRGJ2r2TH9RxGdkQvBafLmbmyo5B84VLqAQ1kazK8zGDnHXg+aXKaIM7 PEji1wSPVK1GOnU9A98/8DPLmp/l+0zIS/ExykcpAzFlw5XOcrqgVO6SUk2XpdzPlc u56d6InQY5rQw== From: Jaegeuk Kim To: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: Jaegeuk Kim Subject: [PATCH] f2fs: set checkpoint_merge by default Date: Thu, 1 Apr 2021 17:42:25 -0700 Message-Id: <20210402004225.1677382-1-jaegeuk@kernel.org> X-Mailer: git-send-email 2.31.0.208.g409f899ff0-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Once we introduced checkpoint_merge, we've seen some contention w/o the option. In order to avoid it, let's set it by default. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 14239e2b7ae7..c15800c3cdb1 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1839,6 +1839,7 @@ static void default_options(struct f2fs_sb_info *sbi) set_opt(sbi, EXTENT_CACHE); set_opt(sbi, NOHEAP); clear_opt(sbi, DISABLE_CHECKPOINT); + set_opt(sbi, MERGE_CHECKPOINT); F2FS_OPTION(sbi).unusable_cap = 0; sbi->sb->s_flags |= SB_LAZYTIME; set_opt(sbi, FLUSH_MERGE); -- 2.31.0.208.g409f899ff0-goog