]> git.karo-electronics.de Git - linux-beck.git/commit
pNFS: Clear out all layout segments if the server unsets lrp->res.lrs_present
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 3 Sep 2016 15:05:28 +0000 (11:05 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 3 Sep 2016 16:10:38 +0000 (12:10 -0400)
commit52ec7be2e27392201adf77892ba883f68df88c99
tree38eb70caf7be589aedc17912673d1a09d3539cff
parent2a59a0411671ef9daf17ba21da57809c696f4119
pNFS: Clear out all layout segments if the server unsets lrp->res.lrs_present

If the server fails to set lrp->res.lrs_present in the LAYOUTRETURN reply,
then that means it believes the client holds no more layout state for that
file, and that the layout stateid is now invalid.

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