From: David Sterba Date: Wed, 26 Jul 2023 14:44:02 +0200 Subject: [Cluster-devel] [PATCH v6 7/7] btrfs: convert to multigrain timestamps In-Reply-To: <20230725-mgctime-v6-7-a794c2b7abca@kernel.org> References: <20230725-mgctime-v6-0-a794c2b7abca@kernel.org> <20230725-mgctime-v6-7-a794c2b7abca@kernel.org> Message-ID: <20230726124402.GK20457@twin.jikos.cz> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, Jul 25, 2023 at 10:58:20AM -0400, Jeff Layton wrote: > 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. > > Beyond enabling the FS_MGTIME flag, this patch eliminates > update_time_for_write, which goes to great pains to avoid in-memory > stores. Just have it overwrite the timestamps unconditionally. > > Signed-off-by: Jeff Layton Acked-by: David Sterba