LWN.net Logo

Re: [Linux-cluster] Re: GFS, what's remaining

From:  Andrew Morton <akpm-AT-osdl.org>
To:  Daniel Phillips <phillips-AT-istop.com>
Subject:  Re: [Linux-cluster] Re: GFS, what's remaining
Date:  Sat, 3 Sep 2005 21:46:53 -0700
Cc:  Joel.Becker-AT-oracle.com, linux-cluster-AT-redhat.com, wim.coekaerts-AT-oracle.com, linux-fsdevel-AT-vger.kernel.org, ak-AT-suse.de, linux-kernel-AT-vger.kernel.org
Archive-link:  Article, Thread

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-sounding?  Spare
me.  O_NONBLOCK means "open this file in nonblocking mode", not "attempt to
acquire a clustered filesystem lock".  Not even close.

It would be much better to do something which explicitly and directly
expresses what you're trying to do rather than this strange "lets do this
because the names sound the same" thing.

What happens when we want to add some new primitive which has no posix-file
analog?

Waaaay too cute.  Oh well, whatever.


(Log in to post comments)

Copyright © 2005, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds