]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFSv4/pnfs: If the server is down, retry the layout returns on reboot
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 5 Jan 2026 21:43:21 +0000 (16:43 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 13 Apr 2026 16:26:19 +0000 (09:26 -0700)
commit1805e6b2f49fbf63322a629a36019cbe2c6628e3
tree67e23d0e306752120706048b280569591ce56d31
parent028ef9c96e96197026887c0f092424679298aae8
NFSv4/pnfs: If the server is down, retry the layout returns on reboot

If a layout return is embedded in a CLOSE or DELEGRETURN rpc call, and
the metadata server reboots, the expectation now is that the client
should resend the layout return once the server comes back up.
This patch changes the current behaviour of dropping the layouts on the
floor, and instead queues them up for retrying.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c