]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Btrfs: use a slab for the free space entries
authorJosef Bacik <josef@redhat.com>
Fri, 28 Jan 2011 22:05:48 +0000 (17:05 -0500)
committerJosef Bacik <josef@redhat.com>
Thu, 17 Mar 2011 18:21:20 +0000 (14:21 -0400)
commitdc89e9824464e91fa0b06267864ceabe3186fd8b
tree82952195464518dce48cb613c74d2326f228669b
parent57a45ced94fe48a701361d64230fc16eefa189dd
Btrfs: use a slab for the free space entries

Since we alloc/free free space entries a whole lot, lets use a slab to keep
track of them.  This makes some of my tests slightly faster.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/ctree.h
fs/btrfs/free-space-cache.c
fs/btrfs/inode.c