Skip to content

scsi/sd: make disk cmd retries configurable

Mike Christie linux-scsi 2 versions – Applied

Status from this message: Applied to 5.10/scsi-staging, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied
  2. v12 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- really drop excess ()s

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2scsi: Add limitless cmd retry supportdrivers/scsi/scsi_error.c drivers/scsi/scsi_lib.c drivers/scsi/scsi_priv.h+43 -202 replies
2/2scsi sd: Allow user to config cmd retriesdrivers/scsi/sd.c drivers/scsi/sd.h+72 -300 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchBart Van Assche
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/2] scsi/sd: make disk cmd retries configurable

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.

V3:
- really drop excess ()s

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