Skip to content
Commit a79f194a authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFSv4/flexfiles: Abort I/O early if the layout segment was invalidated



If a layout segment gets invalidated while a pNFS I/O operation
is queued for transmission, then we ideally want to abort
immediately. This is particularly the case when there is a large
number of I/O related RPCs queued in the RPC layer, and the layout
segment gets invalidated due to an ENOSPC error, or an EACCES (because
the client was fenced). We may end up forced to spam the MDS with a
lot of otherwise unnecessary LAYOUTERRORs after that I/O fails.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 39a5201a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment