On Thu, Sep 13, 2012 at 03:19:23PM +0900, Fernando Luis Vazquez Cao wrote: > On 2012/07/16 07:45, Dave Chinner wrote: > >On Fri, Jul 13, 2012 at 03:54:54PM +0200, Jan Kara wrote: > >>On Thu 12-07-12 18:10:14, Fernando Luis Vázquez Cao wrote: > >>>The FIISFROZEN ioctl can be use by HA and monitoring software to check > >>>the freeze state of a mounted filesystem. > >Can you explain in more detail why the HA system needs to check this? > >And, for that matter, what it does with that information? > > What our HA guys told me is that certain fencing scripts > try to umount filesystems that can be in frozen state. The > problem is that when we umount a frozen filesystem the > superblock still stays around which can lead to a split-brain > scenario. Then the bug is that unmounting a frozen filesystem is not working correctly. Fix the problem, don't add new APIs to try to detect a state where the bug might get tripped over and avoid it. Cheers, Dave. -- Dave Chinner david@xxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html