summaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2024-04-02 21:18:06 +0200
committerDavid Teigland <teigland@redhat.com>2024-04-09 18:44:49 +0200
commitc288745f1d4a2ead903e81d2f4716e9d40b0ad85 (patch)
tree7ecb927ca1d0e6898c78b3ec6c974304dc2e1e58 /fs/f2fs
parentdlm: convert res_lock to spinlock (diff)
downloadlinux-c288745f1d4a2ead903e81d2f4716e9d40b0ad85.tar.xz
linux-c288745f1d4a2ead903e81d2f4716e9d40b0ad85.zip
dlm: avoid blocking receive at the end of recovery
The end of the recovery process transitioned to normal message processing by temporarily blocking the receiving context, processing saved messages, then unblocking the receiving context. To avoid blocking the receiving context, the old wait_queue and mutex are replaced by a new rwlock and the new RECV_MSG_BLOCKED flag. Received messages are added to the list of saved messages, protected by the rwlock, until the flag is cleared, which happens when all saved messages have been processed. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/f2fs')
0 files changed, 0 insertions, 0 deletions