[PATCH] nvme: Fix zns drives without append support to export correct permissions

Christoph Hellwig hch at lst.de
Sun Mar 13 23:21:53 PDT 2022


On Sun, Mar 13, 2022 at 03:15:08PM +0200, Sagi Grimberg wrote:
> There is a call just above this, why add another call?

NVME_NS_FORCE_RO is set in nvme_update_zone_info, which is called after
nvme_update_disk_info.  I think the suggestion from Damien to move the
set_disk_ro call out of nvme_update_disk_info and directly into
nvme_update_ns_info so that it can be done later is the right thing to
do here.



More information about the Linux-nvme mailing list