Re: [PATCH] scsi_debug: add cdb_len parameter

2017-11-21 Thread Bart Van Assche
On Wed, 2017-11-15 at 23:36 -0500, Douglas Gilbert wrote: > -#define SDEBUG_VERSION "1.86" > -static const char *sdebug_version_date = "20160430"; > +#define SDEBUG_VERSION "1.87" > +static const char *sdebug_version_date = "20171105"; Is this kind of version information really useful for an

[PATCH] scsi_debug: add cdb_len parameter

2017-11-15 Thread Douglas Gilbert
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