[linux-lvm] snapshot of Reiserfs

Chris Mason mason at suse.com
Wed Feb 21 17:07:31 UTC 2001


On Wednesday, February 21, 2001 09:44:39 AM -0700 Andreas Dilger
<adilger at turbolinux.com> wrote:

> Given that the VFS support for the *unlockfs methods is included in 2.4.1,
> this should probably become something like:
> 
> /* lvm_do_lv_create calls fsync_dev_lockfs()/unlockfs() */
> #if LINUX_KERNEL_VERSION >= KERNEL_VERSION(2,4,1)
> #define	LVM_VFS_ENHANCEMENT
> #else
> /* Need to apply a kernel patch to add lockfs/unlockfs VFS methods */
> /* #define	LVM_VFS_ENHANCEMENT */
> #endif
> 

I like this idea.

> Also, if the sync_supers_lockfs() method is changed to call write_super()
> if write_super_lockfs() doesn't exist, like:
> 

The fsync_dev_lockfs call does this for us, if there is no
write_super_lockfs provided, fsync_dev_lockfs is effectively the same as
calling fsync_dev.

-chris




More information about the linux-lvm mailing list