mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] btrfs: fix FMODE_NOCMTIME handling in btrfs
@ 2026-11-05 20:07 Jeff Layton
  2026-11-05 20:07 ` [PATCH 1/4] btrfs: honor FMODE_NOCMTIME in btrfs_write_check() Jeff Layton
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jeff Layton @ 2026-11-05 20:07 UTC (permalink / raw)
  To: David Sterba, Chris Mason, Chuck Lever
  Cc: linux-btrfs, linux-kernel, Jeff Layton

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@kernel.org>
---
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

 fs/btrfs/btrfs_inode.h |  3 ++-
 fs/btrfs/ctree.h       |  2 --
 fs/btrfs/file.c        | 60 +++++++++++++++++++++++++++++++++++---------------
 fs/btrfs/file.h        |  2 ++
 fs/btrfs/inode.c       | 13 ++++++-----
 fs/btrfs/reflink.c     |  9 ++++----
 fs/btrfs/relocation.c  |  2 +-
 7 files changed, 59 insertions(+), 32 deletions(-)
---
base-commit: d692f252c52b8d1b4bc7481554f314df31ed8249
change-id: 20261104-delegts-btrfs-124230048ca7

Best regards,
-- 
Jeff Layton <jlayton@kernel.org>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-05 20:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 20:07 [PATCH 0/4] btrfs: fix FMODE_NOCMTIME handling in btrfs Jeff Layton
2026-11-05 20:07 ` [PATCH 1/4] btrfs: honor FMODE_NOCMTIME in btrfs_write_check() Jeff Layton
2026-11-05 20:07 ` [PATCH 2/4] btrfs: honor FMODE_NOCMTIME when punching holes Jeff Layton
2026-11-05 20:07 ` [PATCH 3/4] btrfs: honor FMODE_NOCMTIME in fallocate Jeff Layton
2026-11-05 20:07 ` [PATCH 4/4] btrfs: honor FMODE_NOCMTIME when cloning Jeff Layton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®