[linux-lvm] Re: LVM 2.2 snapshot bug

Andrea Arcangeli andrea at suse.de
Wed Nov 8 17:04:03 UTC 2000


On Wed, Nov 08, 2000 at 11:46:28AM -0500, Chris Mason wrote:
> But, if is_read_only(dev) returns 0,[..]

That is the case for a read only floppy disk and for a LVM snapshot but
in reality both generates I/O errors after calling ll_rw_block(WRITE)
because in reality they are both read only.

> [..] reiserfs tries to update the journal
> header block on mount. [..]

So it does the same thing of ext3, I remeber we also discussed that design
decision in the past and I remeber there are good reasons for that.

> Heinz and found the bug where is_read_only returns 0 for the snapshot

Oh, I didn't know you were just aware of it.

> volume while we were working on the snapshot api for journaled filesystems,
> so this code got a lot of testing.

Ok.

Andrea



More information about the linux-lvm mailing list