On Tue, 2017-12-05 at 00:05 -0500, Douglas Gilbert wrote: > While testing "sd: Micro-optimize READ / WRITE CDB encoding" patches it was > helpful to check various code paths associated with READ/WRITE 6, 10 > and 16 byte cdb variants. There seems to be no user space "knobs" to > twiddle use_10_for_rw and friends in the scsi_device structure. > So add a parameter to scsi_debug called "cdb_len" for this purpose. > > Changes since v1: > - address most of the concerns from Bart Van Assche > - keep driver version and date and tie them into some responses > (e.g. version becomes INQUIRY Revision field) > > Patch built on lk 4.15.0-rc2 Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>