target: don't allocate bio headroom in iblock
We never embedd the bio into a structure, so there is no need to allocate 64 bytes of headroom per bio. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
This commit is contained in:
committed by
Nicholas Bellinger
parent
895f302252
commit
48cfe37cc0
@@ -129,7 +129,7 @@ static struct se_device *iblock_create_virtdevice(
|
|||||||
/*
|
/*
|
||||||
* These settings need to be made tunable..
|
* These settings need to be made tunable..
|
||||||
*/
|
*/
|
||||||
ib_dev->ibd_bio_set = bioset_create(32, 64);
|
ib_dev->ibd_bio_set = bioset_create(32, 0);
|
||||||
if (!ib_dev->ibd_bio_set) {
|
if (!ib_dev->ibd_bio_set) {
|
||||||
pr_err("IBLOCK: Unable to create bioset()\n");
|
pr_err("IBLOCK: Unable to create bioset()\n");
|
||||||
return ERR_PTR(-ENOMEM);
|
return ERR_PTR(-ENOMEM);
|
||||||
|
Reference in New Issue
Block a user