Skip to content
Snippets Groups Projects
Commit b3230e80 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

pNFS: Ensure we check layout segment validity in the pg_init() callback


If we have a layout segment cached in pgio->pg_lseg, we should check it
for validity before reusing it in a new RPC request. Otherwise, if we
recoalesce, we can end up looping forever.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent f30cb757
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment