This is a discussion on is_locked optimization - Samba ; 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 ...
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