From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hua Zhong Subject: Re: Re: GFS, what's remaining Date: Sun, 4 Sep 2005 00:12:52 -0700 Message-ID: <924c28830509040012ce7a0ce@mail.gmail.com> References: <20050901104620.GA22482@redhat.com> <20050903183241.1acca6c9.akpm@osdl.org> <20050904030640.GL8684@ca-server1.us.oracle.com> <200509040022.37102.phillips@istop.com> <20050903214653.1b8a8cb7.akpm@osdl.org> Reply-To: linux clustering Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1051420418==" Cc: linux-fsdevel@vger.kernel.org, ak@suse.de, Daniel Phillips , Joel.Becker@oracle.com, linux-kernel@vger.kernel.org Return-path: To: linux clustering In-Reply-To: <20050903214653.1b8a8cb7.akpm@osdl.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-cluster-bounces@redhat.com Errors-To: linux-cluster-bounces@redhat.com List-Id: linux-fsdevel.vger.kernel.org --===============1051420418== Content-Type: multipart/alternative; boundary="----=_Part_3710_30552203.1125817972862" ------=_Part_3710_30552203.1125817972862 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 9/3/05, Andrew Morton wrote:=20 >=20 > Daniel Phillips wrote: > > > > The model you came up with for dlmfs is beyond cute, it's downright=20 > clever. >=20 > Actually I think it's rather sick. Taking O_NONBLOCK and making it a > lock-manager trylock because they're kinda-sorta-similar-sounding? Spare > me. O_NONBLOCK means "open this file in nonblocking mode", not "attempt t= o > acquire a clustered filesystem lock". Not even close. No, it's "open this file in nonblocking mode" vs "attempt to acquire a loc= k=20 in nonblocking mode". I think it makes perfect sense to use this flag. Of course, whether or not to use open as a means to acquire a lock (in=20 either blocking or nonblocking mode) is efficient is another matter. ------=_Part_3710_30552203.1125817972862 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

On 9/3/05, A= ndrew Morton <akpm@osdl.org>= wrote:
Daniel Phillips <phillips@istop.com> wrote:
>
>= The model you came up with for dlmfs is beyond cute, it's downright clever= .

Actually I think it's rather sick.  Taking O_NONBLOCK and= making it a
lock-manager trylock because they're kinda-sorta-similar-so= unding?  Spare
me.  O_NONBLOCK means "open this= file in nonblocking mode", not "attempt to
acquire a clustered filesystem lock".  Not even close.
 
No, it's "open this file in nonblocking mode" vs "attem= pt to acquire a lock in nonblocking mode". I think it makes perfect se= nse to use this flag.
 
Of course, whether or not to use open as a means to acquire a lock (in= either blocking or nonblocking mode) is efficient is another matter.
 

 
------=_Part_3710_30552203.1125817972862-- --===============1051420418== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============1051420418==--