Re: [PATCH 6/8] fsfreeze: add vfs ioctl to check freeze state

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

 



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


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux