OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895f302
)
target: don't allocate bio headroom in iblock
author
Christoph Hellwig
<hch@infradead.org>
Wed, 21 Dec 2011 19:20:23 +0000
(14:20 -0500)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Wed, 18 Jan 2012 08:28:02 +0000
(08:28 +0000)
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>
drivers/target/target_core_iblock.c
patch
|
blob
|
history
diff --git
a/drivers/target/target_core_iblock.c
b/drivers/target/target_core_iblock.c
index
cc8e6b5
..
628e877
100644
(file)
--- 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);