[PATCH 1/1] nvme: retry security commands if media not ready

Christoph Hellwig hch at lst.de
Fri Oct 4 05:24:06 PDT 2024


On Fri, Oct 04, 2024 at 12:52:50PM +0530, Nilay Shroff wrote:
> How about retrying the command, from nvme_retry_req(), if the return status
> of the security (or for that matter any admin) command suggests to retry 
> the request (i.e. DNR bit in the status is cleared to 0 and return status of 
> the command is NVME_SC_ADMIN_COMMAND_MEDIA_NOT_READY)?

It doesn't sound too horrible, but I'd have to see the result to
judge it.



More information about the Linux-nvme mailing list