diff options
author | Miao Xie <miaox@cn.fujitsu.com> | 2012-09-06 04:01:51 -0600 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-01 15:19:11 -0400 |
commit | 6352b91da1a2108bb8cc5115e8714f90d706f15f (patch) | |
tree | 41897bbe836bb7f8b2bbfef24528407d1c79b8b0 /crypto/crypto_wq.c | |
parent | b9a8cc5bef963b76c5b6c3016b7e91988a3e758b (diff) | |
download | blackbird-op-linux-6352b91da1a2108bb8cc5115e8714f90d706f15f.tar.gz blackbird-op-linux-6352b91da1a2108bb8cc5115e8714f90d706f15f.zip |
Btrfs: use a slab for ordered extents allocation
The ordered extent allocation is in the fast path of the IO, so use a slab
to improve the speed of the allocation.
"Size of the struct is 280, so this will fall into the size-512 bucket,
giving 8 objects per page, while own slab will pack 14 objects into a page.
Another benefit I see is to check for leaked objects when the module is
removed (and the cache destroy takes place)."
-- David Sterba
Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Diffstat (limited to 'crypto/crypto_wq.c')
0 files changed, 0 insertions, 0 deletions