[RFC PATCH v1 1/7] fs: Add inode_get_ino() and implement get_ino() for NFS
hch at infradead.org
hch at infradead.org
Fri Oct 18 05:18:43 UTC 2024
On Thu, Oct 17, 2024 at 05:09:17PM +0000, Trond Myklebust wrote:
> > It'd be better to stop with these sort of hacks and just fix this the
> > right way once and for all, by making i_ino 64 bits everywhere.
>
> Nope.
>
> That won't fix glibc, which is the main problem NFS has to work around.
There's no Problem in glibc here, it's mostly the Linux syscall layer
being stupid for the 32-bit non-LFS interface.
That being said with my XFS hat on we've not really had issue with
32-bit non-LFS code for a long time. Not saying it doesn't exist,
but it's probably limited to retro computing by now. The way we
support it is with the inode32 option that never allocates larger
inode numbers. I think something similar should work for NFS where
an option is required for the ino mangling.
More information about the Linux-security-module-archive
mailing list