- Subject: Re: [PATCH] deadlock with suspend and quotas
- From: Alasdair G Kergon <agk@xxxxxxxxxx>
- Date: Wed, 30 Nov 2011 13:05:14 +0000
- In-reply-to: <Pine.LNX.firstname.lastname@example.org>
- Mail-followup-to: Mikulas Patocka <mpatocka@xxxxxxxxxx>, Jan Kara <jack@xxxxxxx>, Alasdair G Kergon <agk@xxxxxxxxxx>, esandeen@xxxxxxxxxx, Surbhi Palande <csurbhi@xxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, dm-devel@xxxxxxxxxx, linux-fsdevel@xxxxxxxxxxxxxxx, Christopher Chaltain <christopher.chaltain@xxxxxxxxxxxxx>, Valerie Aurora <val@xxxxxxxxxxxxxxxxx>
- Organization: Red Hat UK Ltd. Registered in England and Wales, number 03798903. Registered Office: 64 Baker Street, 4th floor, London, W1U 7DF.
- References: <20111129102156.GA7463@quack.suse.cz> <Pine.LNX.email@example.com> <20111129111136.GC5635@quack.suse.cz> <Pine.LNX.firstname.lastname@example.org> <20111129130913.GE5635@quack.suse.cz> <20111129131811.GS7595@agk-dp.fab.redhat.com> <20111129133239.GA9926@quack.suse.cz> <Pine.LNX.email@example.com> <20111130111657.GA4541@quack.suse.cz> <Pine.LNX.firstname.lastname@example.org>
- Reply-to: device-mapper development <dm-devel@xxxxxxxxxx>
- User-agent: Mutt/1.5.18 (2008-05-17)
On Wed, Nov 30, 2011 at 07:14:18AM -0500, Mikulas Patocka wrote:
> On Wed, 30 Nov 2011, Jan Kara wrote:
> > > So if you skip sync of frozen filesystems, you introduce a data
> > > corruption if someone takes a snapshot of ext2.
> > Yes, because ext2 cannot really be frozen, it is (errorneously) marked
> > as such but it is not frozen...
This is just getting into semantics. AFAIK (and it was before my involvement)
LVM used the term 'lockfs' for this operation when it was introduced to ext2.
It later got renamed in-kernel to 'frozen' to bring it into line with newer
filesystems. But userspace and the interface still retain the original
There is no further I/O sent to the filesystem during the 'lockfs' operation:
LVM uses dm to block that.
dm-devel mailing list