Re: [PATCH 0/4] btrfs: fix FMODE_NOCMTIME handling in btrfs

From: David Sterba

Date: Mon Nov 09 2026 - 11:12:09 EST


On Thu, Nov 05, 2026 at 03:07:41PM -0500, Jeff Layton wrote:
> I tested the delegated timestamp support in nfsd recently. That support
> relies heavily on FMODE_NOCMTIME, and I found several places where btrfs
> didn't handle that flag properly. This series seems to fix them for me.
> I tested mostly with the git regression testsuite, because it is very
> sensitive to subtle bugs in timestamp handling.
>
> Please consider for v7.5.
>
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---
> Jeff Layton (4):
> btrfs: honor FMODE_NOCMTIME in btrfs_write_check()
> btrfs: honor FMODE_NOCMTIME when punching holes
> btrfs: honor FMODE_NOCMTIME in fallocate
> btrfs: honor FMODE_NOCMTIME when cloning

There's a comment from sashiko for patch 4 regarding the unconditional
i_version update but this is mentioned in patch 3 as intentional. I
can't tell if it's a problem, it seems more like a suggestion for
cleanup. I'll add the series to for-next, please check if the question
is valid. Thanks.