linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/14] Create and use APIs to centralise locking for directory ops.
@ 2025-10-15  1:46 NeilBrown
  2025-10-15  1:46 ` [PATCH v2 01/14] debugfs: rename end_creating() to debugfs_end_creating() NeilBrown
                   ` (14 more replies)
  0 siblings, 15 replies; 32+ messages in thread
From: NeilBrown @ 2025-10-15  1:46 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner, Amir Goldstein, Jeff Layton
  Cc: Jan Kara, linux-fsdevel

Here is a new series in response to review (thanks!).

The series creates a number of interfaces that combine locking and lookup, or
sometimes do the locking without lookup.
After this series there are still a few places where non-VFS code knows
about the locking rules.  Places that call simple_start_creating()
still have explicit unlock on the parent (I think).  Al is doing work
on those places so I'll wait until he is finished.
Also there explicit locking one place in nfsd which is changed by an
in-flight patch.  That lands it can be updated to use these interfaces.

The first patch here should have been part of the last patch of the
previous series - sorry for leaving it out.

I've combined the new interface with changes is various places to use
the new interfaces.  I think it is easier to reveiew the design that way.
If necessary I can split these out to have separate patches for each place
that new APIs are used if the general design is accepted.

NeilBrown

 [PATCH v2 01/14] debugfs: rename end_creating() to
 [PATCH v2 02/14] VFS: introduce start_dirop() and end_dirop()
 [PATCH v2 03/14] VFS: tidy up do_unlinkat()
 [PATCH v2 04/14] VFS/nfsd/cachefiles/ovl: add start_creating() and
 [PATCH v2 05/14] VFS/nfsd/cachefiles/ovl: introduce start_removing()
 [PATCH v2 06/14] VFS: introduce start_creating_noperm() and
 [PATCH v2 07/14] VFS: introduce start_removing_dentry()
 [PATCH v2 08/14] VFS: add start_creating_killable() and
 [PATCH v2 09/14] VFS/nfsd/ovl: introduce start_renaming() and
 [PATCH v2 10/14] VFS/ovl/smb: introduce start_renaming_dentry()
 [PATCH v2 11/14] Add start_renaming_two_dentries()
 [PATCH v2 12/14] ecryptfs: use new start_creating/start_removing APIs
 [PATCH v2 13/14] VFS: change vfs_mkdir() to unlock on failure.
 [PATCH v2 14/14] VFS: introduce end_creating_keep()

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

end of thread, other threads:[~2025-10-22  3:54 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-15  1:46 [PATCH v2 00/14] Create and use APIs to centralise locking for directory ops NeilBrown
2025-10-15  1:46 ` [PATCH v2 01/14] debugfs: rename end_creating() to debugfs_end_creating() NeilBrown
2025-10-21 13:26   ` Christian Brauner
2025-10-15  1:46 ` [PATCH v2 02/14] VFS: introduce start_dirop() and end_dirop() NeilBrown
2025-10-19  9:56   ` Amir Goldstein
2025-10-15  1:46 ` [PATCH v2 03/14] VFS: tidy up do_unlinkat() NeilBrown
2025-10-19 10:02   ` Amir Goldstein
2025-10-15  1:46 ` [PATCH v2 04/14] VFS/nfsd/cachefiles/ovl: add start_creating() and end_creating() NeilBrown
2025-10-19 10:10   ` Amir Goldstein
2025-10-15  1:46 ` [PATCH v2 05/14] VFS/nfsd/cachefiles/ovl: introduce start_removing() and end_removing() NeilBrown
2025-10-15  1:46 ` [PATCH v2 06/14] VFS: introduce start_creating_noperm() and start_removing_noperm() NeilBrown
2025-10-19 10:15   ` Amir Goldstein
2025-10-22  3:20     ` NeilBrown
2025-10-20  8:36   ` kernel test robot
2025-10-15  1:46 ` [PATCH v2 07/14] VFS: introduce start_removing_dentry() NeilBrown
2025-10-15  1:47 ` [PATCH v2 08/14] VFS: add start_creating_killable() and start_removing_killable() NeilBrown
2025-10-15  1:47 ` [PATCH v2 09/14] VFS/nfsd/ovl: introduce start_renaming() and end_renaming() NeilBrown
2025-10-19 10:25   ` Amir Goldstein
2025-10-19 10:33     ` Amir Goldstein
2025-10-21 13:25       ` Christian Brauner
2025-10-22  3:35     ` NeilBrown
2025-10-15  1:47 ` [PATCH v2 10/14] VFS/ovl/smb: introduce start_renaming_dentry() NeilBrown
2025-10-19 10:31   ` Amir Goldstein
2025-10-15  1:47 ` [PATCH v2 11/14] Add start_renaming_two_dentries() NeilBrown
2025-10-15  1:47 ` [PATCH v2 12/14] ecryptfs: use new start_creating/start_removing APIs NeilBrown
2025-10-19 10:38   ` Amir Goldstein
2025-10-15  1:47 ` [PATCH v2 13/14] VFS: change vfs_mkdir() to unlock on failure NeilBrown
2025-10-19 10:46   ` Amir Goldstein
2025-10-22  3:54     ` NeilBrown
2025-10-15  1:47 ` [PATCH v2 14/14] VFS: introduce end_creating_keep() NeilBrown
2025-10-19 10:39   ` Amir Goldstein
2025-10-19 10:50 ` [PATCH v2 00/14] Create and use APIs to centralise locking for directory ops Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).