diff options
| author | Andreas Gruenbacher <agruenba@redhat.com> | 2025-12-12 19:02:05 +0300 |
|---|---|---|
| committer | Andreas Gruenbacher <agruenba@redhat.com> | 2026-01-26 16:28:17 +0300 |
| commit | f8f04248c7e9f5d77a93857e3a5d28c0833056dc (patch) | |
| tree | 54c023abff8aa4436fbebe4779ec54692f09c674 /include/linux/workqueue.h | |
| parent | b54345928fa1dbde534e32ecaa138678fd5d2135 (diff) | |
| download | linux-f8f04248c7e9f5d77a93857e3a5d28c0833056dc.tar.xz | |
gfs2: glock cancelation flag fix
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 and
waking up waiters. Fix that.
This bug prevents the same holder from being enqueued later (gfs2_glock_nq())
without first reinitializing it (gfs2_holder_reinit()). The code
doesn't currently use this pattern, but this will change in the next
commit.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
