[PATCH 3/6] block: add a hard-readonly flag to struct gendisk

Martin K. Petersen martin.petersen at oracle.com
Tue Dec 8 00:24:49 EST 2020


Christoph,

> Commit 20bd1d026aac ("scsi: sd: Keep disk read-only when re-reading
> partition") addressed a long-standing problem with user read-only
> policy being overridden as a result of a device-initiated revalidate.
> The commit has since been reverted due to a regression that left some
> USB devices read-only indefinitely.

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

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-nvme mailing list