]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: use slabs for delayed reference allocation
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 21 Nov 2012 02:21:28 +0000 (02:21 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 14:36:34 +0000 (09:36 -0500)
commit5f39f81d02b2816513fbe18c18f007d30017516f
tree0310eb020cf6ed7a8ff71feb8c468bb6e42488fa
parentbd6792fe0f794056ba5638b68389affc09470091
Btrfs: use slabs for delayed reference allocation

The delayed reference allocation is in the fast path of the IO, so use slabs
to improve the speed of the allocation.

And besides that, it can do check for leaked objects when the module is removed.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
fs/btrfs/delayed-ref.c
fs/btrfs/delayed-ref.h
fs/btrfs/disk-io.c
fs/btrfs/extent-tree.c
fs/btrfs/super.c