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

From: Andrew Morton
Date: Sat Sep 03 2005 - 23:49:20 EST


Daniel Phillips <phillips@xxxxxxxxx> 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/