commit | b819ed4b2afcaf86a370a004d7b2252f981f0c50 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Jan 21 14:48:49 2016 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Thu Jan 21 15:49:40 2016 -0500 |
tree | 2edc0b44a873eb4a179b5d77b134521fb7c2481c | |
parent | 13331a551ab4df87f7a027d2cab392da96aba1de [diff] |
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: Trond Myklebust <trond.myklebust@primarydata.com>