xfs-masters
[Top] [All Lists]

[xfs-masters] Re: freeze vs freezer

To: xfs-masters@xxxxxxxxxxx
Subject: [xfs-masters] Re: freeze vs freezer
From: Eric Sandeen <sandeen@xxxxxxxxxxx>
Date: Thu, 03 Jul 2008 14:43:00 -0500
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, Elias Oltmanns <eo@xxxxxxxxxxxxxx>, Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>, Kyle Moffett <mrmacman_g4@xxxxxxx>, Matthew Garrett <mjg59@xxxxxxxxxxxxx>, David Chinner <dgc@xxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Jens Axboe <jens.axboe@xxxxxxxxxx>
In-reply-to: <200806302234.23887.rjw@sisk.pl>
References: <4744FD87.7010301@goop.org> <200806300122.48204.rjw@sisk.pl> <20080630061149.GA352@infradead.org> <200806302234.23887.rjw@sisk.pl>
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
Rafael J. Wysocki wrote:

>>> I talked with Jens about it on a very general level, but it seems doable at
>>> first sight.
>> Why would you hack the blok layer when we already have a perfectly fine
>> facility to archive what you want?  freeze_bdev is there exactly for the
>> purpose to make the filesystem consistant on disk and then freeze all
>> I/O.
> 
> We tried that in the past and it didn't work very well due to some bad
> interactions with the md layer that we wanted to stay functional while we
> were saving the image.

Hm, details or a link?

> Also, do all of the supported filesystems implement this feature?


ext3, ext4, gfs2, jfs, reiserfs, xfs, all provide a write_super_lockfs
op, which is what freeze_bdev uses.  I think that the rest is generic,
for simpler filesystems.

-Eric


<Prev in Thread] Current Thread [Next in Thread>