diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2015-10-21 16:34:20 -0400 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-10-31 19:06:02 -0400 |
commit | dbba42d8a9ebddcc1c1412e8457f79f3cb6ef6e7 (patch) | |
tree | aa185bdeae4a2b11d875cb2a21dac8c23608e1bf /drivers/md/dm-cache-metadata.c | |
parent | a3d939ae7b5f82688a6d3450f95286eaea338328 (diff) | |
download | op-kernel-dev-dbba42d8a9ebddcc1c1412e8457f79f3cb6ef6e7.zip op-kernel-dev-dbba42d8a9ebddcc1c1412e8457f79f3cb6ef6e7.tar.gz |
dm: eliminate unused "bioset" process for each bio-based DM device
Commit 54efd50bfd873e2dbf784e0b21a8027ba4299a3e ("block: make
generic_make_request handle arbitrarily sized bios") makes it possible
for block devices to process large bios. In doing so that commit
allocates a new queue->bio_split bioset for each block device, this
bioset is used for allocating bios when the driver needs to split large
bios.
Each bioset allocates a workqueue process, thus the above commit
increases the number of processes allocated per block device.
DM doesn't need the queue->bio_split bioset, thus we can deallocate it.
This reduces the number of allocated processes per bio-based DM device
from 3 to 2. Also remove the call to blk_queue_split(), it is not
needed because DM does its own splitting.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-metadata.c')
0 files changed, 0 insertions, 0 deletions