Home
last modified time | relevance | path

Searched hist:"3 cb5977c5214c219b2859f926ed547480d53fdde" (Results 1 – 1 of 1) sorted by relevance

/linux/fs/dlm/
H A Drequestqueue.cdiff 3cb5977c5214c219b2859f926ed547480d53fdde Tue Nov 02 20:17:18 CET 2021 Alexander Aring <aahringo@redhat.com> fs: dlm: ls_count busy wait to event based wait

This patch changes the ls_count busy wait to use atomic counter values
and wait_event() to wait until ls_count reach zero. It will slightly
reduce the number of holding lslist_lock. At remove lockspace we need to
retry the wait because it a lockspace get could interefere between
wait_event() and holding the lock which deletes the lockspace list entry.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>