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>
This commit is contained in:
Trond Myklebust 2026-01-05 16:43:21 -05:00
commit 1805e6b2f4
2 changed files with 37 additions and 15 deletions