Re: [PATCH] AFS: Implement file locking

Kyle Moffett
2007-05-26T03:12:19Z

On May 25, 2007, at 22:23:42, J. Bruce Fields wrote:
> On Thu, May 24, 2007 at 05:55:54PM +0100, David Howells wrote:
>> + /* only whole-file locks are supported */
>> + if (fl->fl_start != 0 || fl->fl_end != OFFSET_MAX)
>> + return -EINVAL;
>
> Do you allow upgrades and downgrades? (Just curious.)

I was actually under the impression that OpenAFS had support for byte-
range locking (as well as lock upgrade/downgrade); though IIRC there
was some secondary protocol. That's probably why the support is so
basic at the moment; David's getting the basics in first and the more
complicated stuff can come later.

Cheers,
Kyle Moffett