[PATCH 2/2] afs: Make /afs/@cell and /afs/. at cell symlinks
David Howells
dhowells at redhat.com
Tue Jan 7 09:56:48 PST 2025
Al Viro <viro at zeniv.linux.org.uk> wrote:
> Just allocate those child dentries and call your afs_lookup_atcell() for them.
> No need to keep that mess in ->lookup() - you are keeping those suckers cached
> now, so...
Actually, I wonder if creating the inodes and dentries for cells and the @cell
symlinks at mount of the dynamic root or when the cells are created is
actually the best way.
It might be better to list all the cells and symlinks in readdir and only
create them on demand in ->lookup(). The cells are kept in their own list on
the network namespace anyway, even if the dynamic root isn't mounted.
David
More information about the linux-afs
mailing list