mbox series

[0/2] scsi/sd: make disk cmd retries configurable V2

Message ID 1601398908-28443-1-git-send-email-michael.christie@oracle.com
Headers show
Series scsi/sd: make disk cmd retries configurable V2 | expand

Message

Mike Christie Sept. 29, 2020, 5:01 p.m. UTC
The following patches made over Martin's staging branch allow
the user to config sd cmd retries. I didn't allow the user to
set any old value and kept the max at 5. However, you can now
turn it off and rely on the transport error handler to decide
when to stop retrying. You can also decrease retries for cases
for disks where there is no use in retrying 5 times.

V2:
- Drop excess ()
- Add comment about forcing completion in the request sense
case
- Use kstrtoint

Comments

Bart Van Assche Oct. 1, 2020, 2:54 a.m. UTC | #1
On 2020-09-29 10:01, Mike Christie wrote:
> Some iSCSI targets went the traditional export N ports and then allowed
> the initiator to multipath over them. Other targets went the opposite
> direction and export 1 port, and then software on the target side
> performs load balancing and failover to other targets via a iscsi
> specific feature or IP takover.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>