[Bug 80711] [PATCH]SG_FLAG_LUN_INHIBIT is no longer implemented and there's not way to prevent the kernel from using the 2nd cdb byte for the LUN

bugzilla-daemon
2014-08-21T21:43:54Z

https://bugzilla.kernel.org/show_bug.cgi?id=80711

--- Comment #13 from Martin K. Petersen <martin.petersen@oracle.com> ---
>>>>> "Alan" == Alan Stern <stern@rowland.harvard.edu> writes:

Alan> Okay, here's a patch that implements the suggestion, except that I
Alan> put the flag in the Scsi_Host structure instead of the template.
Alan> This was to minimize the impact of the change. Among the various
Alan> SCSI-over-USB transports, only the Bulk-Only transport gives the
Alan> LUN separately from the CDB. I don't know if there are any
Alan> multi-LUN USB devices that don't use the Bulk-Only transport, but
Alan> if there are then they won't work if the LUN isn't stored in
Alan> CDB[1].

I'm in agreement with this approach.

--
You are receiving this mail because:
You are the assignee for the bug.