[dm-devel] [PATCH 6/6] nvme: allow revalidate to set a namespace read-only

Martin K. Petersen martin.petersen at oracle.com
Tue Dec 8 05:29:43 UTC 2020


Christoph,

> Unconditionally call set_disk_ro now that it only updates the hardware
> state.  This allows to properly set up the Linux devices read-only when
> the controller turns a previously writable namespace read-only.

Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>

-- 
Martin K. Petersen	Oracle Linux Engineering




More information about the dm-devel mailing list