Re: [usb-storage] Re: Make UAS work on HS for devices with and without command tagging support

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

 



On Fri, Dec 16, 2011 at 10:47:39PM +0100, James Bottomley wrote:
> Well, no, what you want to do is use a shared tag map at the block
> level.  That will manage a joint tag space for N queues without your
> having to partition it arbitrarily.  see scsi_host_find_tag() and
> scsi_init_shared_tag_map().

By the way, the same verbiage about tags being shared across LUNs is also
present in the SAS spec (and various other specs last time I looked,
which wasn't recently).  We should probably make this the default in
the SCSI core.

I suspect it hasn't bitten us because there are so few multi-LUN devices
out there, and it's only a "May" check, not "Must" check.  But Linux is
technically in violation of the SAS spec by sending two commands to the
same target with the same tag.
--
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