]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
xfs: don't create a slab cache for filestream items
authorChristoph Hellwig <hch@lst.de>
Tue, 22 Apr 2014 21:11:51 +0000 (07:11 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 22 Apr 2014 21:11:51 +0000 (07:11 +1000)
commit1919adda0732e661c6163a6505dddb0bc423b8d8
tree401679adbf7a8bbc883771d32b36ff9ea91c396d
parent2cd2ef6a300b1ac912bb515b75451585c3d33ea9
xfs: don't create a slab cache for filestream items

We only have very few of these around, and allocation isn't that
much of a hot path.  Remove the slab cache to simplify the code,
and to not waste any resources for the usual case of not having
any inodes that use the filestream allocator.

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/xfs_filestream.c
fs/xfs/xfs_filestream.h
fs/xfs/xfs_super.c