* Request for input on new options for scsi_debug driver
@ 2018-02-03 16:54 Laurence Oberman
0 siblings, 0 replies; only message in thread
From: Laurence Oberman @ 2018-02-03 16:54 UTC (permalink / raw)
To: dgilbert, linux-scsi
Hello
During various fault injection scenarios it would be useful to be able
to pick a specific starting sector and number of follow on sectors
where a MEDIUM ERROR for reads would be returned against a scsi-debug
device.
Right now this only works against sector 0x1234 and OPT_MEDIUM_ERR_NUM
follow on sectors.
However during testing of md-raid and other scenarios I wanted more
flexibility.
The idea is add 2 new parameters:
medium_error_start
medium_error_count
If medium_error_start is set then we don't use the default of
OPT_MEDIUM_ERR_ADDR, but use that set value.
If medium_error_count is set we use that value otherwise default to
OPT_MEDIUM_ERR_NUM.
Should I send a patch for this, wanted to find out if this would be
acceptable before I waste anybody's time having to review.
Regards
Laurence Oberman
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-03 16:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-03 16:54 Request for input on new options for scsi_debug driver Laurence Oberman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox