[PATCH 5/6] xfs: move non-inline symlinks to the pagecache
Al Viro
viro at ZenIV.linux.org.uk
Sat Apr 25 16:05:20 CDT 2015
On Sat, Apr 25, 2015 at 08:32:47PM +0200, Christoph Hellwig wrote:
> On Sat, Apr 25, 2015 at 03:57:28PM +0100, Al Viro wrote:
> > > Note that caching the symlink in a kmalloc'ed buffer might be
> > > more efficient than the pagecache for most cases anyway.
> >
> > Hmm... When would you free the sucker?
>
> final iput. Similar design to the generic ACL cache.
Except that in this case you have to deal with the cases when it should
_not_ be freed in ->evict_inode() (and doing that in generic code is
right out). I'm not sure it will be simpler that way, actually...
More information about the xfs
mailing list