Re: [PATCH v2] scsi: sd: Keep the discard mode stable
From: Martin K. Petersen
Date: Wed Jun 26 2024 - 22:44:13 EST
Li,
> The discard mode has been negotiated during the SCSI probe. If the
> mode is temporarily changed from UNMAP to WRITE SAME with UNMAP, IO
> ERROR may occur because the target may not implement WRITE SAME with
> UNMAP. Keep the discard mode stable to fix this issue.
This is fine with me. It's a subset of what I have pending in my
discovery series but it doesn't look like that will ready in time for
6.11. So let's just grab this for now.
Jens: Probably easiest if you take this through the block-limits branch.
Reviewed-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>
--
Martin K. Petersen Oracle Linux Engineering