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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 8/25/18 9:09 AM, Andi Kleen wrote:
> On Fri, Aug 24, 2018 at 07:58:05PM -0500, Eric Sandeen wrote:
>> On 8/24/18 6:37 PM, Andi Kleen wrote:
>>>
>>> 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 <axboe@xxxxxxxxx>
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 <stefan@xxxxxxxx>
    Fixes: 721c7fc701c7 ("block: fail op_is_write() requests to read-only partitions")
    Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux