diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-16 12:22:08 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-16 13:21:10 +0100 |
commit | 725b3654f831fbe0388cc09f46269903c9eef1d7 (patch) | |
tree | 0935e8d4d3246292bcf7cd4b1453bebb23e4f3a8 /howto4.txt | |
parent | 07978bd175395e0dc770f68fff5b8bd8b0fdeb51 (diff) | |
download | samba-725b3654f831fbe0388cc09f46269903c9eef1d7.tar.gz samba-725b3654f831fbe0388cc09f46269903c9eef1d7.tar.bz2 samba-725b3654f831fbe0388cc09f46269903c9eef1d7.zip |
s3: Avoid a thundering herd in g_lock_unlock
Only notify the first 5 pending lock waiters. This avoids a thundering herd
problem that is really nasty in a cluster. It also makes acquiring a lock a bit
more FIFO, lock waiters are added to the end of the array.
Diffstat (limited to 'howto4.txt')
0 files changed, 0 insertions, 0 deletions