diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2024-12-16 19:28:06 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-27 14:02:17 +0100 |
| commit | 16846e8e0ace406f7a8887c8c1eb060136291229 (patch) | |
| tree | 1ee928374fe31e3d0460d9929920bc5c4b9793d1 /scripts/git.orderFile | |
| parent | 4f95a2186b7f2af09331e1e8069bcaf34fe019cf (diff) | |
| download | linux-16846e8e0ace406f7a8887c8c1eb060136291229.tar.gz linux-16846e8e0ace406f7a8887c8c1eb060136291229.tar.bz2 linux-16846e8e0ace406f7a8887c8c1eb060136291229.zip | |
NFS/pnfs: Fix a live lock between recalled layouts and layoutget
commit 62e2a47ceab8f3f7d2e3f0e03fdd1c5e0059fd8b upstream.
When the server is recalling a layout, we should ignore the count of
outstanding layoutget calls, since the server is expected to return
either NFS4ERR_RECALLCONFLICT or NFS4ERR_RETURNCONFLICT for as long as
the recall is outstanding.
Currently, we may end up livelocking, causing the layout to eventually
be forcibly revoked.
Fixes: bf0291dd2267 ("pNFS: Ensure LAYOUTGET and LAYOUTRETURN are properly serialised")
Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
