Oplock timing issue.

Jeremy Allison jeremy at valinux.com
Thu Jun 7 17:21:50 GMT 2001


On Thu, Jun 07, 2001 at 01:12:05PM -0400, Michael Sweet wrote:
> Jeremy Allison wrote:
> > ...
> > I take it this is on a Linux 2.4 kernel ? The EAGAIN error
> > is not usual for a standard open() call. Can you confirm this
> > please ?
> 
> Both IRIX and Linux (at least) can return EAGAIN on regular files:
> 
>      EAGAIN The file exists, O_CREAT or O_TRUNC are specified,
>             mandatory file/record locking is set, and there are
>             outstanding record locks on the file [see chmod(2)].

Yeah, but no-one uses mandatory locking :-). This is certainly
a kernel oplock issue.

Jeremy.




More information about the samba-technical mailing list