xfs: optimize inline symlinks
authorChristoph Hellwig <hch@lst.de>
Tue, 5 Apr 2016 21:53:29 +0000 (07:53 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 5 Apr 2016 21:53:29 +0000 (07:53 +1000)
commit30ee052e12b97c190b27fe6f20e3ac3047df7b5c
tree92b34446e88e72e6ddce730b1f1b4192614a45be
parentbfe8804d908a791b16e3686c101f0d7eca9fb5b9
xfs: optimize inline symlinks

By overallocating the in-core inode fork data buffer and zero
terminating the link target in xfs_init_local_fork we can avoid
the memory allocation in ->follow_link.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_iops.c
fs/xfs/xfs_symlink.c
This page took 0.027793 seconds and 5 git commands to generate.