Searched hist:"01 fdeca1cc2dd705b1391f31a2594214c8bd7886" (Results 1 – 3 of 3) sorted by relevance
/linux/fs/dlm/ |
H A D | memory.c | diff 01fdeca1cc2dd705b1391f31a2594214c8bd7886 Mon Jun 10 22:26:03 CEST 2024 Alexander Aring <aahringo@redhat.com> dlm: use rcu to avoid an extra rsb struct lookup
Use rcu to free rsb structs, and hold the rcu read lock while looking up rsb structs. This allows us to avoid an extra hash table lookup for an rsb. A new rsb flag HASHED is added which is set while the rsb is in the hash table. This flag is checked in place of repeating the hash table lookup.
Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
|
H A D | dlm_internal.h | diff 01fdeca1cc2dd705b1391f31a2594214c8bd7886 Mon Jun 10 22:26:03 CEST 2024 Alexander Aring <aahringo@redhat.com> dlm: use rcu to avoid an extra rsb struct lookup
Use rcu to free rsb structs, and hold the rcu read lock while looking up rsb structs. This allows us to avoid an extra hash table lookup for an rsb. A new rsb flag HASHED is added which is set while the rsb is in the hash table. This flag is checked in place of repeating the hash table lookup.
Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
|
H A D | lock.c | diff 01fdeca1cc2dd705b1391f31a2594214c8bd7886 Mon Jun 10 22:26:03 CEST 2024 Alexander Aring <aahringo@redhat.com> dlm: use rcu to avoid an extra rsb struct lookup
Use rcu to free rsb structs, and hold the rcu read lock while looking up rsb structs. This allows us to avoid an extra hash table lookup for an rsb. A new rsb flag HASHED is added which is set while the rsb is in the hash table. This flag is checked in place of repeating the hash table lookup.
Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
|