diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-12-21 14:20:23 -0500 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-01-18 08:28:02 +0000 |
commit | 48cfe37cc03f616e6c139796962e7ec677cde8a9 (patch) | |
tree | 0dafa66ac58400b8eee1e68182b6c73dc8b880d3 /drivers/target | |
parent | 895f3022523361e9b383cf48f51feb1f7d5e7e53 (diff) | |
download | linux-3.10-48cfe37cc03f616e6c139796962e7ec677cde8a9.tar.gz linux-3.10-48cfe37cc03f616e6c139796962e7ec677cde8a9.tar.bz2 linux-3.10-48cfe37cc03f616e6c139796962e7ec677cde8a9.zip |
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>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/target_core_iblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |