From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Luis Vazquez Cao Subject: Re: [PATCH 6/8] fsfreeze: add vfs ioctl to check freeze state Date: Thu, 13 Sep 2012 15:19:23 +0900 Message-ID: <50517AEB.6060604@lab.ntt.co.jp> References: <1342083464.7033.6.camel@nexus.lab.ntt.co.jp> <1342084214.7033.16.camel@nexus.lab.ntt.co.jp> <20120713135454.GI20361@quack.suse.cz> <20120715224517.GD2920@dastard> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Jan Kara , Al Viro , Dave Chinner , Christoph Hellwig , linux-fsdevel@vger.kernel.org To: Dave Chinner Return-path: Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]:50459 "EHLO tama50.ecl.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753879Ab2IMGTm (ORCPT ); Thu, 13 Sep 2012 02:19:42 -0400 In-Reply-To: <20120715224517.GD2920@dastard> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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=E1zquez Cao wrote: >>> The FIISFROZEN ioctl can be use by HA and monitoring software to ch= eck >>> 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. Thanks, =46ernando -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html