[PATCH 13/14] Add nfi, txn, and flags to dirent_args
Valerie Aurora
val at versity.com
Mon Mar 3 09:20:59 PST 2025
On Sat, Mar 1, 2025 at 12:40 AM Zach Brown <zab at zabbo.net> wrote:
>
> On Thu, Feb 27, 2025 at 03:16:22PM +0100, Valerie Aurora wrote:
> > For directory operations like unlink(), rmdir(), and rename(), the
> > dirent_args struct needs to carry all necessary info down to the btree
> > iterator operator function. unlink() needs to know whether it is
> > attempting to remove a directory or a file, so add a flags field to
> > dirent_args. rmdir() needs to read the dir inode to get the link
> > count, so add the nfi and txn pointers. rename() needs to know if the
> > entry is just being moved to different directory, so add a flag.
>
> Hopefully this won't be needed, as discussed in review of the addition
> of unlink..
Yes, I am happily dropping this one! Thanks for the clearing that up,
Valerie
More information about the ngnfs-devel
mailing list