[PATCH 06/14] Add parent inode number for directories

Zach Brown zab at zabbo.net
Mon Mar 3 10:03:51 PST 2025


On Mon, Mar 03, 2025 at 06:16:05PM +0100, Valerie Aurora wrote:
> On Fri, Feb 28, 2025 at 11:35 PM Zach Brown <zab at zabbo.net> wrote:

> > Maybe we make it something like:
> >
> >         struct ngnfs_ino_gen {
> >                 __le64 ino;
> >                 __le64 gen;
> >         };
> >
> > Too literal?
> 
> Yes, I like! I think what you are saying is to replace all inode
> numbers with an ino_gen struct, including in say
> update_dirent_args_ino(), correct? I have a commit in my stack right
> now to correctly copy around the gen number with the ino which I can
> easily update to this.

Where the inode numbers we're replacing are references to a specific
instance of an allocated inode, indeed, that sounds just right.  Thanks!

- z



More information about the ngnfs-devel mailing list