dlm: add comments about forced waiters reset
authorDavid Teigland <teigland@redhat.com>
Fri, 15 Mar 2024 22:11:39 +0000 (17:11 -0500)
committerDavid Teigland <teigland@redhat.com>
Fri, 15 Mar 2024 22:11:39 +0000 (17:11 -0500)
commitc53309b912fdd652eb3c2de44626aac4b0fc9bf9
tree78d0e73d995b4523077a5d713c98b8a913d1aabe
parent484b4f90c28f441e71e9d7df407c5b76578d2658
dlm: add comments about forced waiters reset

When a lock is waiting for a reply for a remote operation, and recovery
interrupts this "waiters" state, the remote operation is voided by the
recovery, and no reply will be processed.  The lkb waiters state for the
remote operation is forcibly reset/cleared, so that the lock operation
can be restarted after recovery.  Improve the comments describing this.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c