+26
−3
+1
−5
+2
−2
+55
−48
+3
−10
Loading
There are several places where lock processing can perform two hash table lookups, first in the "keep" list, and if not found, in the "toss" list. This patch introduces a new rsb state flag "RSB_TOSS" to represent the difference between the state of being on keep vs toss list, so that the two lists can be combined. This avoids cases of two lookups. Signed-off-by:Alexander Aring <aahringo@redhat.com> Signed-off-by:
David Teigland <teigland@redhat.com>