diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-04-25 17:56:19 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2017-04-25 17:56:19 +0300 |
commit | b3230e80a6d115d2eb50fe3f4794ad04d84766de (patch) | |
tree | c0b55ff70d1643c37656e44b87d9f18e3256b58f /fs/dcache.c | |
parent | f30cb757f680f965ba8a2e53cb3588052a01aeb5 (diff) | |
download | linux-b3230e80a6d115d2eb50fe3f4794ad04d84766de.tar.xz |
pNFS: Ensure we check layout segment validity in the pg_init() callback
If we have a layout segment cached in pgio->pg_lseg, we should check it
for validity before reusing it in a new RPC request. Otherwise, if we
recoalesce, we can end up looping forever.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions