]> 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)
commit82226be632b64b37833dfa7adb1674347784bb56
tree0310eb020cf6ed7a8ff71feb8c468bb6e42488fa
parentb2180d4221f0b6d089f69d5d8bf247df48373b65
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