r3312: in the brlock code, we prevent lock stampedes by attempting to not
authorAndrew Tridgell <tridge@samba.org>
Thu, 28 Oct 2004 06:45:28 +0000 (06:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:04:53 +0000 (13:04 -0500)
commitc8c3a56b8bf0db89fdb8f548fe6016cb87d115ad
tree0c777a9158dcbd538e708e92d20cc8b151adaebf
parentc69b5f76427e7a73403acf16921c4084f4c281bb
r3312: in the brlock code, we prevent lock stampedes by attempting to not
wakeup all pending locks at once. This change means that we only
trigger this anti-stampede code for write locks, as for pending read
locks the correct behaviour is to stampede (as they will all succeed)
(This used to be commit 8021d1d74207db1204139309592b9d2f80f2bd0e)
source4/ntvfs/common/brlock.c