Thread (4 messages) flat view 4 messages, 3 authors, 2021-03-10

Re: [PATCH v2] libnvdimm: Notify disk drivers to revalidate region read-only

From: Dan Williams <hidden>
Date: 2021-03-10 23:31:02
Also in: lkml, nvdimm

On Tue, Mar 9, 2021 at 10:54 PM Christoph Hellwig [off-list ref] wrote:
Looks good to me:

Reviewed-by: Christoph Hellwig <hch@lst.de>

Question on the pre-existing code: given that nvdimm_check_and_set_ro is
the only caller of set_disk_ro for nvdimm devices, we'll also get
the message when initially setting up any read-only disk.  Is that
intentional?
Yeah, that's intentional. There's no other notification that userspace
would be looking for by default besides the kernel log, and the block
device name is more meaningful than the region name, or the nvdimm
device status for that matter.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help