|
|
Log in / Subscribe / Register

Create and use APIs to centralise locking for directory ops.

From:  NeilBrown <neilb-AT-ownmail.net>
To:  "Alexander Viro" <viro-AT-zeniv.linux.org.uk>, "Christian Brauner" <brauner-AT-kernel.org>, "Amir Goldstein" <amir73il-AT-gmail.com>, Jeff Layton <jlayton-AT-kernel.org>
Subject:  [PATCH v3 00/14] Create and use APIs to centralise locking for directory ops.
Date:  Wed, 22 Oct 2025 15:41:34 +1100
Message-ID:  <20251022044545.893630-1-neilb@ownmail.net>
Cc:  "Jan Kara" <jack-AT-suse.cz>, linux-fsdevel-AT-vger.kernel.org
Archive-link:  Article

following is v3 of this patch set with a few changes as suggested by Amir. 
See particularly patches 06 09 13

Whole series can be found in "pdirops" branch of
   https://github.com/neilbrown/linux.git

v2: https://lore.kernel.org/all/20251015014756.2073439-1-neil...

Thanks,
NeilBrown

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



Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds