NFS: pnfs_mark_matching_lsegs_return() should match the layout sequence id
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 22 Jul 2016 15:13:22 +0000 (11:13 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 24 Jul 2016 20:16:40 +0000 (16:16 -0400)
commite036f46453f252539cb62bf91d82c3d08e37e73c
tree0c44303a8033868001a83ba488a0c3c7571e8b06
parent2d6cf5ab0b5d13d06c4b7920d6a12dbedf003190
NFS: pnfs_mark_matching_lsegs_return() should match the layout sequence id

When determining which layout segments to return, we do want
pnfs_mark_matching_lsegs_return to check that they match the layout
sequence id. This ensures that we don't waste time if the server
is replaying a layout recall that has already been satisfied.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/pnfs.c