Re: [PATCH 1/3] lockfs - vfs bits

From: Christoph Hellwig
Date: Sun Apr 18 2004 - 03:19:45 EST

On Sat, Apr 17, 2004 at 04:30:07PM -0700, Andrew Morton wrote:
> Christoph Hellwig <hch@xxxxxx> wrote:
> >
> > These are the generic lockfs bits. Basically it takes the XFS freezing
> > statemachine into the VFS. It's all behind the kernel-doc documented
> > freeze_bdev and thaw_bdev interfaces.
> Do we expect to see snapshotting patches for other filesystems arise as a
> result of this?

Other filesystems already implement the write_super_lockfs and unlockfs
methods and should just work. An earlier version of this patch is in
SuSE's tree and I think they've tested it with ext3 and reiserfs.
Similarly even earlier variants are in the 2.4 vendor trees. Those
filesystem don't really use the state machine to avoid starting new
transactions, so to get results as reliable as XFS they need soem more

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at