summaryrefslogtreecommitdiffstats
path: root/include/mtd
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2012-03-26 17:53:17 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2012-04-14 17:40:31 -0700
commitbebe2fdc17835f9330de2a15c8ca393f92acd250 (patch)
tree1517e9dc463055400cce84c183bffa5f69c974e7 /include/mtd
parent83799efbfffff62678306ce5e98f4d6d0e069e23 (diff)
downloadblackbird-op-linux-bebe2fdc17835f9330de2a15c8ca393f92acd250.tar.gz
blackbird-op-linux-bebe2fdc17835f9330de2a15c8ca393f92acd250.zip
target: stop splitting commands into multiple tasks
From hch: The high-performance backends (iblock and rd) support tasks of unlimited size. With that there is no reason to keep a complex infrastructure for splitting up commands in place. Stop doing so and only submit a single task per data direction. Once this is in place we can slowly remove fields from the task that duplicate things in the command, or move other fields into the command. From nab: The benefit to IBLOCK performance by removing the additional fast-path allocation overhead + SGL mapping to se_task->task_sg[] is now greater than transparently supporting an received CDB I/O length that exceeds what is allowed by backend pSCSI LLD hardware max_sectors, that was originally supported for all backend export cases. This change may effect some users of pSCSI users on legacy hardware, but I think most folks are now using TYPE_DISK struct scsi_device export with IBLOCK. The only other place where this may can issues that cannot be resolved with IBLOCK TYPE_DISK is using TYPE_ROM, TYPE_TAPE or other pSCSI non TYPE_DISK export with an SCSI LLDs using a smaller max_sectors. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/mtd')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud