Thread (12 messages) 12 messages, 4 authors, 2018-08-29

Re: Trying to write to read-only block-device from XFS

From: Eric Sandeen <hidden>
Date: 2018-08-26 06:06:30


On 8/25/18 9:09 AM, Andi Kleen wrote:
On Fri, Aug 24, 2018 at 07:58:05PM -0500, Eric Sandeen wrote:
quoted
On 8/24/18 6:37 PM, Andi Kleen wrote:
quoted
Seen this a few times now with recent kernels:
Hi Andi -

Dumb question maybe, but just to be clear -
Was this an RO mount on an RO device, or something else?
What type of mount was this?
Was just a normal RW partition on a normal SSD. I didn't do anything
special to make it RO.
I don't know why it shows up as RO at this point, but maybe this fixes it:

commit b089cfd95d32638335c551651a8e00fd2c4edb0b
Author: Jens Axboe [off-list ref]
Date:   Tue Aug 14 10:52:40 2018 -0600

    block: don't warn for flush on read-only device
    
    Don't warn for a flush issued to a read-only device. It's not strictly
    a writable command, as it doesn't change any on-media data by itself.
    
    Reported-by: Stefan Agner [off-list ref]
    Fixes: 721c7fc701c7 ("block: fail op_is_write() requests to read-only partitions")
    Signed-off-by: Jens Axboe [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help