Re: [PATCH 03/42] target: get_cdb should never return NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 30, 2011 at 11:07:33PM -0700, Nicholas A. Bellinger wrote:
> Also, I think we will still need to keep the CDB splitting logic for at
> least PSCSI and IBLOCK backends.

only PSCSI really needs the splitting of the CDB, as no one elses uses
the CDB after it's been split.

I guess what you mean is splitting commands into multiple se_tasks,
which in some form will still be needed, but I suspect it's more efficient
to not create multiple data structures for the iblock case, but rather
create bios on the fly while parsing the S/G list, both for IBLOCK and PSCSI.

If we can't completely get rid of the se_tasks at least only using them
for data I/O, and avoiding their creation for the internally handled metadata
CDBs seems like another nice optimization.
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux