diff options
author | Benjamin Coddington <bcodding@redhat.com> | 2025-06-19 18:02:21 +0300 |
---|---|---|
committer | Anna Schumaker <anna.schumaker@oracle.com> | 2025-06-23 18:01:16 +0300 |
commit | c01776287414ca43412d1319d2877cbad65444ac (patch) | |
tree | fd06f5bb4f6b98c062d3819cfa5f94972887160f /scripts/lib/kdoc/kdoc_output.py | |
parent | e8d6f3ab59468e230f3253efe5cb63efa35289f7 (diff) | |
download | linux-c01776287414ca43412d1319d2877cbad65444ac.tar.xz |
NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN
We found a few different systems hung up in writeback waiting on the same
page lock, and one task waiting on the NFS_LAYOUT_DRAIN bit in
pnfs_update_layout(), however the pnfs_layout_hdr's plh_outstanding count
was zero.
It seems most likely that this is another race between the waiter and waker
similar to commit ed0172af5d6f ("SUNRPC: Fix a race to wake a sync task").
Fix it up by applying the advised barrier.
Fixes: 880265c77ac4 ("pNFS: Avoid a live lock condition in pnfs_update_layout()")
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions