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

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

 



> 
> Ok, so the blame is assigned, but the question is still how to avoid the
> warning:

I'd say, unless you are using a volume manager that is doing something weird,
which essentially LVM did by keep writing to RO volumes for snapshots, you
should avoid the warning by checking why your device went into RO mode and
fix it.

Block devices shouldn't suddenly enter in RO mode without facing an error
condition or somebody forcing it into RO mode.

> 
> (1) either XFS needs to check for read only underlying more often
> or
> (2) the warning needs to be removed.
> 
> I assume (2) is far easier. Is (1) even possible without races? 
> What is preferred? 
> 

> 
> -Andi

-- 
Carlos



[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