Re: [PATCH 20/20] target: change alloc_task call to take *cdb, not *cmd

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

 



On Sun, Jul 10, 2011 at 03:41:51PM -0700, Andy Grover wrote:
> We can assume each se_cmd only needs 1 se_task???
> 
> I couldn't see where the max sectors per se_cmd was limited, therefore
> we needed to support cmds being broken up into
> se_sub_dev.max_sectors-size chunks, and therefore being >1 se_task per
> se_cmd, for all backstores not just pscsi?

The most important backend, iblock already handles arbitrarily sized
payloads by using multiple bios internally, which is much lower overhead
than using the multiple task complexity, and the ramdisk code has no
inherent limitation either.  The file code has a limitation on the
number of iovecs accepted by the kernel, and only the pscsi backend
really needs multiple "tasks".

Given that the performance of iblock is the important one streamline
the path for this backend as much as possible sounds like a good idea.

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux