[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251119-dir-deleg-ro-v8-0-81b6cf5485c6@kernel.org>
Date: Wed, 19 Nov 2025 08:42:17 -0500
From: Jeff Layton <jlayton@...nel.org>
To: Alexander Viro <viro@...iv.linux.org.uk>,
Christian Brauner <brauner@...nel.org>, Jan Kara <jack@...e.cz>,
Jeff Layton <jlayton@...nel.org>, Chuck Lever <chuck.lever@...cle.com>,
Alexander Aring <alex.aring@...il.com>, NeilBrown <neil@...wn.name>,
Olga Kornievskaia <okorniev@...hat.com>, Dai Ngo <Dai.Ngo@...cle.com>,
Tom Talpey <tom@...pey.com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-nfs@...r.kernel.org, Stephen Rothwell <sfr@...b.auug.org.au>
Subject: [PATCH v8 0/3] vfs: expose delegation support to userland
Stephen hit a couple of problems while merging the last patch in the
directory delegation series, and I found some problems while testing
userland delegations (more fstests forthcoming).
Christian, could you drop the last patch in
vfs-6.19.directory.delegations, and pick up these patches? They should
address all of the problems Stephen reported and make userland
delegation support on files work properly. Let me know if you'd rather I
resend a whole new directory delegation series instead.
To: Alexander Viro <viro@...iv.linux.org.uk>
To: Christian Brauner <brauner@...nel.org>
To: Jan Kara <jack@...e.cz>
To: Chuck Lever <chuck.lever@...cle.com>
To: Alexander Aring <alex.aring@...il.com>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: linux-fsdevel@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Signed-off-by: Jeff Layton <jlayton@...nel.org>
Changes in v8:
- split out lease_dispose_list() helper
- add new ->lm_open_conflict() lease_manager_operation
- Link to v7: https://lore.kernel.org/r/20251117-dir-deleg-ro-v7-1-f8bfd13a3791@kernel.org
Changes in v7:
- have fcntl.h include proper headers for stdint.h integers
- move comment above fcntl_getlease() to the proper place
- add a kerneldoc comment over fcntl_getdeleg()
---
Jeff Layton (3):
vfs: expose delegation support to userland
filelock: add lease_dispose_list() helper
filelock: allow lease_managers to dictate what qualifies as a conflict
fs/fcntl.c | 13 +++
fs/locks.c | 199 ++++++++++++++++++++++++++++-----------------
fs/nfsd/nfs4layouts.c | 11 ++-
fs/nfsd/nfs4state.c | 7 ++
include/linux/filelock.h | 13 +++
include/uapi/linux/fcntl.h | 16 ++++
6 files changed, 181 insertions(+), 78 deletions(-)
---
base-commit: 5c4a3c4961067120fbf6d35622c2e839f9ceba12
change-id: 20251117-dir-deleg-ro-2e6247a1a0a9
Best regards,
--
Jeff Layton <jlayton@...nel.org>
Powered by blists - more mailing lists