From: Christoph Hellwig Date: Wed, 21 Dec 2011 19:20:23 +0000 (-0500) Subject: target: don't allocate bio headroom in iblock X-Git-Tag: v3.3-rc3~2^2~25 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=48cfe37cc03f616e6c139796962e7ec677cde8a9;p=~emulex%2Finfiniband.git 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 Signed-off-by: Nicholas Bellinger --- diff --git a/drivers/target/target_core_iblock.c b/drivers/target/target_core_iblock.c index cc8e6b58ef2..628e877381d 100644 --- a/drivers/target/target_core_iblock.c +++ b/drivers/target/target_core_iblock.c @@ -129,7 +129,7 @@ static struct se_device *iblock_create_virtdevice( /* * 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) { pr_err("IBLOCK: Unable to create bioset()\n"); return ERR_PTR(-ENOMEM);