best strategy for preventing unnecessary oplock breaks on doubly open files

tridge at tridge at
Wed Oct 12 01:07:26 GMT 2005


 > What about adding a reaquire oplock call into the UNIX extentions ?

It might be better just to support the existing FSTCL ntiocl calls for
oplocks. These are supported by windows on local filesystems, but not
on remote filesystems. We can easily support them on remote
filesystems too. They are:


w2k3 returns NT_STATUS_NOT_SUPPORTED on these, but at least their
existance on local filesystems means that the numbers are reserved,
and if windows ever does support this then its a pretty good bet they
will use these same opcodes.

Cheers, Tridge

More information about the samba-technical mailing list