commit | 4f2e9dce0c6348a95eaa56ade9bab18572221088 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@poochiereds.net> | Wed Nov 25 13:43:14 2015 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Nov 25 15:32:13 2015 -0500 |
tree | 2e208da8a6585afccab9d942f3fed755073efafe | |
parent | c812012f9ca7cf89c9e1a1cd512e6c3b5be04b85 [diff] |
nfs4: resend LAYOUTGET when there is a race that changes the seqid pnfs_layout_process will check the returned layout stateid against what the kernel has in-core. If it turns out that the stateid we received is older, then we should resend the LAYOUTGET instead of falling back to MDS I/O. Signed-off-by: Jeff Layton <jeff.layton@primarydata.com> Cc: stable@vger.kernel.org # 3.18+ Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>