diff options
author | Christoph Hellwig <hch@infradead.org> | 2011-09-25 14:56:24 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-10-24 03:20:43 +0000 |
commit | dbbf3e94c2b26988d3c41af63e50189e9133eb28 (patch) | |
tree | 4cb6f91946d2229c7eb521fa460bc0c2407107a5 /drivers/target/target_core_iblock.h | |
parent | b6b4e61ff4e26d6721b2607ea23402825a38c402 (diff) |
target: cleanup iblock bio submission
Move the entirely bio allocation, mapping and submission into ->do_task.
This
a) avoids blocking the I/O submission thread unessecarily, and
b) simplifies the code greatly
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_iblock.h')
-rw-r--r-- | drivers/target/target_core_iblock.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_iblock.h b/drivers/target/target_core_iblock.h index a121cd1b6575..7a76f663385c 100644 --- a/drivers/target/target_core_iblock.h +++ b/drivers/target/target_core_iblock.h @@ -11,7 +11,6 @@ struct iblock_req { unsigned char ib_scsi_cdb[TCM_MAX_COMMAND_SIZE]; atomic_t ib_bio_cnt; atomic_t ib_bio_err_cnt; - struct bio *ib_bio; } ____cacheline_aligned; #define IBDF_HAS_UDEV_PATH 0x01 |