Message ID | 20231018-mgtime-v1-7-4a7a97b1f482@kernel.org (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD131CDB48A for <linux-mm@archiver.kernel.org>; Wed, 18 Oct 2023 17:41:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 7D7E28D017E; Wed, 18 Oct 2023 13:41:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 787AF8D0016; Wed, 18 Oct 2023 13:41:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 600AA8D017E; Wed, 18 Oct 2023 13:41:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 4D92B8D0016 for <linux-mm@kvack.org>; Wed, 18 Oct 2023 13:41:55 -0400 (EDT) Received: from smtpin06.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 23C5A1CB548 for <linux-mm@kvack.org>; Wed, 18 Oct 2023 17:41:55 +0000 (UTC) X-FDA: 81359300190.06.0BA60F5 Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf09.hostedemail.com (Postfix) with ESMTP id A9691140018 for <linux-mm@kvack.org>; Wed, 18 Oct 2023 17:41:52 +0000 (UTC) Authentication-Results: imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=YYfoYs3O; spf=pass (imf09.hostedemail.com: domain of jlayton@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=jlayton@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1697650913; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=5r5+xkT7Cah6bqzzux7AkywwCv2DT8B10T1+CCXYhPY=; b=wWieBvMzW85V9oM5Y/GpPMvtP8ytpbMDTLm+7eL/VjYgAulLhDTnjEv1XY6TRsyu+TCOmw 1oZRrsGCQYFAmVwrqKZ8CVJ2pPL9uIngNgohWK5IakI9fdFwNTDXlgAB1NPUMQAMxSxLpm z/WEjUAY1mquGxXYJ1L82cPX6fR9ma8= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1697650913; a=rsa-sha256; cv=none; b=ec2ytfk2d4cIaiISsSvjVwamP2NbZPS3bBEQdTAs46ZhVzfn9L0XPnJFU8cHSrY1RX0PcU lceD5pnfNr0uM0+TJBlS5e7eKocd/cdWf78lT1fM+p6QBYCZN3zrdjlKPUtfTNygj8GH1k udDCj6qPiwWvAnenpq24t4q57gqlwrM= ARC-Authentication-Results: i=1; imf09.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=YYfoYs3O; spf=pass (imf09.hostedemail.com: domain of jlayton@kernel.org designates 145.40.73.55 as permitted sender) smtp.mailfrom=jlayton@kernel.org; dmarc=pass (policy=none) header.from=kernel.org Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id BAEC4CE2657; Wed, 18 Oct 2023 17:41:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6728C43395; Wed, 18 Oct 2023 17:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697650909; bh=4p7KAc4dsK8dQOeLACIwEbavFhpYUlO+UH4AD1OreDY=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=YYfoYs3OV3OwOoWHJrW77sJgKOC9d7+Xq2vmQwl+Dj5UFhipFADNwQ3Z5KsSsLnjj UVCEUAP+RmDftyHzLhd05wa4Wr9JjLoXLiMNGfHoXxPtQw6AiZe1Lab31EqC9nkk+X SLlEIufv3uKJdxWt2FX2w4ro0YBLs4r3yGGJ2HiiiEmoFU5P7wRsFwR78QI3BZcJKQ JrJadB8JAr5Za++uEa/DHUlvVAmSgMmyDqMs/P/f1w9aWxEst8sifhkZCulFbhCaER HIdZH+kCXuPghYLEvCgDz0lXzMwGopN027mxaYxLLXwTEd1iaD7Uf5TKOI7ecwuiA6 nO8L4XBZg8rPA== From: Jeff Layton <jlayton@kernel.org> Date: Wed, 18 Oct 2023 13:41:14 -0400 Subject: [PATCH RFC 7/9] ext4: switch to multigrain timestamps MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231018-mgtime-v1-7-4a7a97b1f482@kernel.org> References: <20231018-mgtime-v1-0-4a7a97b1f482@kernel.org> In-Reply-To: <20231018-mgtime-v1-0-4a7a97b1f482@kernel.org> To: Linus Torvalds <torvalds@linux-foundation.org>, Alexander Viro <viro@zeniv.linux.org.uk>, Christian Brauner <brauner@kernel.org>, John Stultz <jstultz@google.com>, Thomas Gleixner <tglx@linutronix.de>, Stephen Boyd <sboyd@kernel.org>, Chandan Babu R <chandan.babu@oracle.com>, "Darrick J. Wong" <djwong@kernel.org>, Dave Chinner <david@fromorbit.com>, Theodore Ts'o <tytso@mit.edu>, Andreas Dilger <adilger.kernel@dilger.ca>, Chris Mason <clm@fb.com>, Josef Bacik <josef@toxicpanda.com>, David Sterba <dsterba@suse.com>, Hugh Dickins <hughd@google.com>, Andrew Morton <akpm@linux-foundation.org>, Amir Goldstein <amir73il@gmail.com>, Jan Kara <jack@suse.de>, David Howells <dhowells@redhat.com> Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-mm@kvack.org, linux-nfs@vger.kernel.org, Jeff Layton <jlayton@kernel.org> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=839; i=jlayton@kernel.org; h=from:subject:message-id; bh=4p7KAc4dsK8dQOeLACIwEbavFhpYUlO+UH4AD1OreDY=; b=owEBbQKS/ZANAwAIAQAOaEEZVoIVAcsmYgBlMBjJsAbzUTfA1QPqzg0MuGg3swqrFXt6uvW1m bGS00EFnDmJAjMEAAEIAB0WIQRLwNeyRHGyoYTq9dMADmhBGVaCFQUCZTAYyQAKCRAADmhBGVaC FfeYD/98fNSYqHhHFEvbqhES3uKXfBN7CAx91j661F9ZNuvn2CUIquUaA+FfPt5NpL/7OW1KiHo hcxzhv+n0ws5nkme7kVxjI1jfLKkHNNOrue4gPlc1uU8+6SJ/oW//BRSV+nVkhZJtmIBtz7FJh9 yHdA4QbXq2qZwMBMlh3eRQTV913fwSRViLHiYkQYST4FOCORzm2QDfAeQNTscPvOI4ewlnaD/ep 9OIszxsNlLeabXq5eTdHb+tAWYRAcLzGpRDDB+mmxJsTBYPx60lODA9tFAUBrGmwxlDIHNmYx+P TornDYcILN2sWjoW0bqNmlRzp6iY037toqRYrQ7JjWhqpujus+aarDdugYY+r4CECwvRypVhGxK uWz3jjn1nlJmmBZmavbScjo3jReAgwtwxuTgmQQrYqPxwZS0ts3pBhvgk2atABZVejYvtAmZw93 QlP8V1GdxhdElp/hHiUK+LBRy0pKGK0lUt4yzOM5udaB7LCwRCIClVUhQ/IygAEikJXhCqX1de9 ogvCF5Orn0HR0YUZ4mKJ3WD3Oc2V7bfeDJ3zo6hBvWjbiSr6ZXixhXHy03d0TlCIyP+pPfmib9O Hzz0pNgcBzA4WTTYeDb6RhPTqh9IfJli9Ntp5lFmYh+Juwu/yH1cI4E5jnLXa4TO/ziZvclczEQ 7oglGUSvni3TcVQ== X-Developer-Key: i=jlayton@kernel.org; a=openpgp; fpr=4BC0D7B24471B2A184EAF5D3000E684119568215 X-Stat-Signature: 4cqgronbcry387at3nky58fmy1u9pdct X-Rspamd-Server: rspam10 X-Rspamd-Queue-Id: A9691140018 X-Rspam-User: X-HE-Tag: 1697650912-492264 X-HE-Meta: U2FsdGVkX1+mtR+KP9kUZ2B5Tr+oUjWiOASBKOwfqYBIApWolauHxD216wEUNO6ej5Mx2oKm7pNN1i9JLqoHeCFUDroLaF88v/W1G0Axa6FhY/FABhI3kq+EeTtAuC8zBJQ61DkSk8YZeK6ujxLV01jOQk57hRskaZHGcvNA311zNlaXci1kAPb6THzEReaVZpD7X8iU3DkkRP1iLOFH4itod9n+6uu4uAuuSYG75rvdeqX2lDDr2/woHVvU24IjWJoKZYokM/9L3HLi+NlN0pof/+Kyez+GKqqD6Go9QFtQXZOWuTJXARCQSpMpuJfabE9hy4F1A0otmFAY1zjS8+ezp3Bnc2zvBivWcQxjP2MpG7/5fBYzC0/vy8fcbfpi/idDMsrdY87Or4E9ce0I5YOaSCYAjhgyHgyCYHvo5SDGkbfk5aVwLeEggV5DE8UO69S8c5SmxRWna/zIG0p68na1BsLdkLkrv1fB4V/hUUs/JeM8CfABAAkNT/dr7qQMC9Ed9QfIbSVgtOcUyODpzJKukiZbbdmlMGaD5B/wRyubrR1oqXGMmVDEtG6ePQ77QG6BTo+XFu+osp+IShN6sDItoSvJwNTKWdXq45f+tMkp8nSoHx2GNPaytvZpeAzuENwGjcFUi5uxvnmFGuVFRM8Q42SEAax6r7Dfe184hpLplNLRZ6AUjYYbFrTbRxRZhznz4HoCPIXqpJFsSuqPteJpvaQGPL2nVPPb8VPs2aXwa5FvKV3i4igWpuDRKlZh0XPnLiHL/X76UPKqb6AczB5GSemLCZzFqwbnVczFSPk5mY7fqZc6h0AiGBhD9hC/AcHamSs06WrMSri0w/i7gwW93YFiU0dpEOnyPWaiiD0vKrAAMQhiVJV8GPESNtSRBcHYWkzYBFN38h+EsuFphcZhE0WfVZy6UjFxAlHLFzR6q0MYKWrJKtZecg6kIW4vFdi8KGI4CxuLgIBsxjG nt3NOfKL NQA+AVS7EgbFCBiADYeL9riv0FY40JzqQ3oovn5AnGr47swDzNM1c3a1bzQ3egDtIDt6BuAWcT6VuCmh+WQufes3WdO8ANZI28L9CdKrOhPI9vXxOjJLb5tE4T+2SrjeVQiTtBY0JKPZ29qTrs0kHvxrw7FFFX5ZVOHLCrJorW2x0aP5u6bHmas1xXm3kTeX+vKGVhDoAjEvohw1uYDhl7iqOQXGWcwfSfmEMFoidraV8xnKgJh9CFA6edw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
fs: multigrain timestamps (redux)
|
expand
|
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index c642adf54599..1b111cf4ebe7 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -7314,7 +7314,7 @@ static struct file_system_type ext4_fs_type = { .init_fs_context = ext4_init_fs_context, .parameters = ext4_param_specs, .kill_sb = ext4_kill_sb, - .fs_flags = FS_REQUIRES_DEV | FS_ALLOW_IDMAP, + .fs_flags = FS_REQUIRES_DEV | FS_ALLOW_IDMAP | FS_MGTIME, }; MODULE_ALIAS_FS("ext4");
Enable multigrain timestamps, which should ensure that there is an apparent change to the timestamp whenever it has been written after being actively observed via getattr. For ext4, we only need to enable the FS_MGTIME flag. Signed-off-by: Jeff Layton <jlayton@kernel.org> --- fs/ext4/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)