J. Bruce Fields <[email protected]> wrote:
> > At the moment, yes. Don't the POSIX and flock lock-handling routines in the
> > kernel normally do that anyway?
>
> No, they'd upgrade in that case.
I just checked. The OpenAFS server supports neither lock upgrading nor lock
downgrading. Attempts to do either incur an abort with code 0x02f6df0a
(which I believe to be equivalent to EAGAIN).
This means that I can't practically support lock upgrading. Lock downgrading
I can emulate by handing apparent readlocks to local processes whilst holding
a writelock on the server.
David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]