Commit 3063047
Andreas Gruenbacher
gfs2: glock cancelation flag fix
JIRA: https://issues.redhat.com/browse/RHEL-135362
Upstream Status: https://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2.git/ retry-rename
When an asynchronous glock holder is dequeued that hasn't been granted
yet (HIF_HOLDER not set) and no dlm operation is in progress on behalf
of that holder (GLF_LOCK not set), the dequeuing takes place in
__gfs2_glock_dq(). There, we are not clearing the HIF_WAIT flag. This
prevents the same holder from being enqueued later (gfs2_glock_nq())
without first reinitializing it (gfs2_holder_reinit()). Fix that by
always clearing the HIF_WAIT flag in __gfs2_glock_dq().
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
(cherry picked from commit de958017e4fed4f3f5aa115128da73f8d63ac975)1 parent 88031a6 commit 3063047
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1611 | 1611 | | |
1612 | 1612 | | |
1613 | 1613 | | |
| 1614 | + | |
1614 | 1615 | | |
1615 | 1616 | | |
1616 | 1617 | | |
| |||
0 commit comments