Thread (11 messages) 11 messages, 4 authors, 2020-11-30

Re: [PATCH 3/4] nvme: allow revalidate to set a namespace read-only

From: Hannes Reinecke <hare@suse.de>
Date: 2020-11-30 07:58:33
Also in: ceph-devel, dm-devel, linux-nvme

On 11/29/20 7:19 PM, Christoph Hellwig wrote:
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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
  drivers/nvme/host/core.c | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help