Message ID | 20240708-mgtime-v4-7-a0f3c6fb57f3@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 55307C3271E for <linux-mm@archiver.kernel.org>; Mon, 8 Jul 2024 15:54:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4593E6B00A0; Mon, 8 Jul 2024 11:54:10 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3C17A6B00A3; Mon, 8 Jul 2024 11:54:10 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 19CAA6B00A0; Mon, 8 Jul 2024 11:54:10 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id DAE7C6B00A1 for <linux-mm@kvack.org>; Mon, 8 Jul 2024 11:54:09 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 9682DA14A5 for <linux-mm@kvack.org>; Mon, 8 Jul 2024 15:54:09 +0000 (UTC) X-FDA: 82317031818.10.08C1EEB Received: from sin.source.kernel.org (sin.source.kernel.org [145.40.73.55]) by imf07.hostedemail.com (Postfix) with ESMTP id 2FD7440015 for <linux-mm@kvack.org>; Mon, 8 Jul 2024 15:54:06 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=WdZmqhZE; spf=pass (imf07.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=1720454032; 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=jrWDUNAfjQEDxgT+s5m3Xpc+SMUbJLWr2UGjE6OBm2Q=; b=UIfaata7o9pc6KW59UVzgzhcLWb4AZ+GtE38PDbRjX9ru5WKZSCKUTqTZoTlnHcs9gy2HY 469wiPHPdU2HODzPIYxEIEJS6sEHbcazEEs8SVMrfiqPWm8wybp1/FGymphqHLdsTJWABU e9PrIiswyp/HK/v6YvZ0EsXfHs4AlG4= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b=WdZmqhZE; spf=pass (imf07.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-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1720454032; a=rsa-sha256; cv=none; b=RhHti68AsIMYriCg7N+J0KYSkExzR4BjhGGKyIlPtQghMfhhs7VjlnT8QodcO54+k7BPhm exrIdgqRj8Rgwkd6vQ5x4Bizw+vfHeX7jkstoz1CUW7usKJNjggx0FOe89Sd0wSyz8ltdX 6+mkszdV3yIKepwkIQ5QjqQYE5uricU= Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 68EC5CE0E5C; Mon, 8 Jul 2024 15:54:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B02DC4AF0F; Mon, 8 Jul 2024 15:54:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720454043; bh=aIxGR7na/Qdc3ayjXzlWsssXh9j6/eXvzZW4Lz1mI/Q=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=WdZmqhZEKcdRor0xeRZQ1AMbtjW8CCS6wtr9O5WYow4WRp4uGqcoWspFWu9aOgxk/ 05tMfHGKk+jbx4L5sjDmCtp37o3pHA/E3ErO+DjPywyV7S9VxEDTgypzb2c/IgpNbZ ZtaLocdM76/fWP/DNQD2TZjUMfKZcfr70nMP0S7IUdcv755TKcYHTmTEQPEU3wGDkZ X3n2VKVCnCOtvaoqnFx83g5WFH/bOJeKHGmA1A00nqffpV4NGLpFSFWWkmSv1ovx0L 4de01hkrsGxPUOXTdsG7AiOLqm0l3pEyU5WwhAE7CZCRkeuIsiefmeENFR6jx6/xAi FjxZUnHiiE7SQ== From: Jeff Layton <jlayton@kernel.org> Date: Mon, 08 Jul 2024 11:53:40 -0400 Subject: [PATCH v4 7/9] ext4: switch to multigrain timestamps MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240708-mgtime-v4-7-a0f3c6fb57f3@kernel.org> References: <20240708-mgtime-v4-0-a0f3c6fb57f3@kernel.org> In-Reply-To: <20240708-mgtime-v4-0-a0f3c6fb57f3@kernel.org> To: Alexander Viro <viro@zeniv.linux.org.uk>, Christian Brauner <brauner@kernel.org>, Jan Kara <jack@suse.cz>, Steven Rostedt <rostedt@goodmis.org>, Masami Hiramatsu <mhiramat@kernel.org>, Mathieu Desnoyers <mathieu.desnoyers@efficios.com>, Chandan Babu R <chandan.babu@oracle.com>, "Darrick J. Wong" <djwong@kernel.org>, 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>, Jonathan Corbet <corbet@lwn.net> Cc: Dave Chinner <david@fromorbit.com>, Andi Kleen <ak@linux.intel.com>, Christoph Hellwig <hch@infradead.org>, Uros Bizjak <ubizjak@gmail.com>, Kent Overstreet <kent.overstreet@linux.dev>, kernel-team@fb.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-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, linux-doc@vger.kernel.org, Jeff Layton <jlayton@kernel.org> X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=839; i=jlayton@kernel.org; h=from:subject:message-id; bh=aIxGR7na/Qdc3ayjXzlWsssXh9j6/eXvzZW4Lz1mI/Q=; b=owEBbQKS/ZANAwAIAQAOaEEZVoIVAcsmYgBmjAuEhXGg7q/ZSXYWrlObmN4kWG5CFpkeFLGJL BloJF+qTcyJAjMEAAEIAB0WIQRLwNeyRHGyoYTq9dMADmhBGVaCFQUCZowLhAAKCRAADmhBGVaC FWd2D/4nrrrq9qnRRkHaEtLBNuSn/vN9DMXD7XETJ5F+WVPpSdvHtM7RvXEvUR188K+EDnmqFa7 o7+7pTjzyn+uIzpSE0j9ZEBO482oLUFDAgItrDGhJeXZUfEQHKYdukxSKgarTD5nYbYC/i4TjDM RXka9WXpUFUIsCqd98h1XZ+S5W3AT88rUp/jv1LD0P+yF/Lp3FGcORSuAF95AU1GrjLSoKL2X5q mBf4nBLDpSmvRAdTGSSScut5LJdrMYO9jg6gJf8Cb4Mc3bDRPGo+oGd2nL1kTG+WyrErLM3IfqR 9H7jH8QQqXyvoso0FNo8KN3SCsgwXxMLq0qEv1iWFONDAyMYbmy5udOw6BEzIGBaYGMvPg9G1I7 nRUJUZPDWBdr7unHL2np3W4PFAT/l2nh7cZkxSkTk8z0pIQVG6udI1wTxdGpuC/zptSfzJpWzXB fRwotHXbhtA5mXZhu3gwUW8jNFYAy389DNBbYcPp66G2Mff8KECeoEJz0lRK5nzAaV43OCaOqPQ 2YuwPX57BH6wGkn+gvPZ0Fa6/0wMNEaZsZqNsf11YevvL/5srjIMlSr/luKwInTOD9YjtkP1HZR K08XctFRkt5sYW9WLrcZufyxUtPXnoe86WEOj3V8UMjB/HtQg4qUvpljpL1fhq+HiBfjzwrJ7ve tRYcHqYUd5VvbRA== X-Developer-Key: i=jlayton@kernel.org; a=openpgp; fpr=4BC0D7B24471B2A184EAF5D3000E684119568215 X-Rspamd-Server: rspam11 X-Rspamd-Queue-Id: 2FD7440015 X-Stat-Signature: k41bwog316x6d9dsi98zhrprf9t18gqw X-Rspam-User: X-HE-Tag: 1720454046-56688 X-HE-Meta: U2FsdGVkX1+byjKQhfux0P8JiOfoNsAPn0m1lUBoELNyIBCyp+tIG62ksp+H70QYW+8v6ScTzl2oZtVQE6WR5nbyD403eav4NP2eOmzrnA88hDJhfinIANPP6pQKDINZXHZbbUxqYkYbCSQMFbObF//7XqKTnzbZ2Hzg9pJmexEETZ8mBtMT/GkBEZZlhff5c/z89KqTTkHRmwyfxNmWp3PiGeFVjjmyK3nUYGO132pGE7tIZ0T3/45j7ng1tQoTr9D/otUFbAwUy0cHHuVhVa5C0VQQnwmnogCeNMe0UIvb45R0s+FJoZDcJu2KeWpRrFkiYNaNloAKfg5AfimErn0tLvMQg4zEqupOhESErlSI2pM2Ia626kUlLf4eEz9tqko2tM7oxId+U04y2c+Wj4i20YzFF+0XDW6Ifgl1BgWM8spzDS9FMuZoU70U9viaMs8Zs9QD8jVwLH/i+BC888uPMWvS2UwvH8YoyGZRBQD93Ov3h7IBUywe9CV6zhCCQ7sV9xPKhm6cFt71JrJoiG3rqggYg4rx+1QnlWrnTEjwl02gRUx1BBLB1MyJypdUT+9vmRtMgvPKVa+XdAcHc/Hb5xh7ZA48zm0yXTmsmxAgSs5bCTTRV4/rabeH5vWLxuzTrA+ZZl6e+Vnp8cYDlY2aZ2eCzH6nFAy9U+n+tyHnDowW6S/1EJtgjx5nGbP/l0zq38oTpSUQLbHHkapE51iV3ugtmpbgvJgSYsbhjMieWFRUHJHyzoTCgePzC1VE+r5ynF8CgusswAkt5KBm7Qv1s+L5zfR/yAvyRH6kLmzT5QdpS4TLmfQN+MNpV5WrR95wgyPLGSSqVKRJKfG5SeaNfizix/1pyWzvH9pby2h3ydWE+7eQYGkF6B5rliLcTeNkHbqrJT/RKIa1HF+72+HR05msc5Y4l+pR/pQLJTlbxpih/bLVbj3P+gnk2WqQ1dAMCTyqDs4wYDWH8UG dYUj7bLX 8mhebwqcD36veYR38zf3Hqtr3iMGxsW8rpPZZcSgdVZ1QouF/8Zvwe5apY9/S63G751EmCH2wVlLrASASfbjaHaBsXYn2eXfPxQpLPJ5i/ESNoeMTf60hYTOa9qLGcjOby0u7Q49/Hth0Q+JaSXR3wpIwKBBKjfG5TEi5YJV4JlPYu3jy1wOiKCvOxr7dYYChzFfYEbow8qQQZRiwWM+HRbTWg7DnxkBZUtQ850ggnqFdbRYFfo8C23sUMOWkdqzR4MV7GqGz433CyMfILu5r+TlCH39qFkET5/Ph7VJIJNTu20sxL4jUshHzVdtWJkF3pxUm9e+4UPWCUuX1ZOvIpgMJlP+KAWIae1Y7JwDIgs8E1Qw= 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> List-Subscribe: <mailto:majordomo@kvack.org> List-Unsubscribe: <mailto:majordomo@kvack.org> |
Series |
fs: multigrain timestamp redux
|
expand
|
diff --git a/fs/ext4/super.c b/fs/ext4/super.c index eb899628e121..95d4d7c0957a 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -7294,7 +7294,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(-)