]> git.karo-electronics.de Git - karo-tx-linux.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)
commit78a6184a3ff9041280ee56273c01e5679a831b39
tree0310eb020cf6ed7a8ff71feb8c468bb6e42488fa
parent6f60cbd3ae442cb35861bb522f388db123d42ec1
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