On 7/8/2015 2:44 PM, Christoph Hellwig wrote:
On Wed, Jul 08, 2015 at 12:59:18PM +0200, Hannes Reinecke wrote:
Actually it's controlled by the D_SENSE bit in the Control mode page
(that's bit[2] of byte 2 in the control mode page).
Which is currently set to '0', ie we will be returning fixed sense
information.
_If_ we were to report descriptor sense we will need to change that,
too.
Just looked over SPC, and indeed D_SENSE is a strict either fixed
or descriptor, not a may return descriptor data.
So this patch actually is wrong as we never must return different sense
data types based on the sense code.
I'll send out v4 without this patch altogether.
--
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