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

pNFS/flexfiles: Improve merging of errors in LAYOUTRETURN



When we hit 22 errors, we start to overflow the memory buffers allocated
to the LAYOUTRETURN errors. The issue is that currently, RPC call reply
ordering determines how successful we are in merging errors that refer
to contiguous READ or WRITE requests.

Fix is to use an insertion sort to help detect contiguity.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 13331a55
Loading
Loading
Loading
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