Please do your homework. What you describe already exists. The VFS
methods (write_super_lockfs and unlockfs) are already there, and all
of the journaling filesystems support this. The LVM and EVMS code has
patches to call these VFS methods. For some reason the VFS-lock patch
has not yet been included in the kernel, but it should be.
As for filesystem-level snapshots (i.e. blocking write requests at the
VFS layer and doing COW) that is what snapfs (previously mentioned) does.
Cheers, Andreas
-- Andreas Dilger http://www-mddsp.enel.ucalgary.ca/People/adilger/ http://sourceforge.net/projects/ext2resize/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/