[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re[2]: XFS "lockfs" Functionality



 >>  On Wed, Jan 15, 2003 at 11:21:34AM -0800, Browning, Jeff wrote:
 >>  > 1.     Flush all data in the local file system buffer cache to disk
 >>  > (effectively a synchronous sync); 
 >>  > 2.     Halt all pending I/O to the file system until unlockfs is
 >>  > issued. (If the file system is mounted hard, all processes attempting
 >>  > to access the file system simply hang for this period.) 

 >>  man xfs_freeze

There is also a kernel patch available from the LVM project that does this automatically when you perform an LVM snapshot.  (Search for "VFS lock patch")

The SuSE kernels already have this patch installed, I don't know about the other distros.

Of course, if you are not doing LVM snapshots, the patch is useless.

Greg Freemyer