is_locked optimization
Nadav Danieli
nadavd at exanet.com
Thu Dec 2 22:09:51 GMT 2004
Hello all,
When reading/writing file with locking and strict locking (default)
enabled, is_locked is called. I have very little knowledge about tdb
overhead, but it seems that if oplock is granted, unnecessary (to me,)
to call brl_locktest.
Attached is a suggested change for is_locked in cases an oplock is
granted.
I would like to hear any opinion regarding this change, and of course,
if it is wrong.
Regards,
Nadav Danieli
More information about the samba-technical
mailing list