]> git.baikalelectronics.ru Git - kernel.git/commit
pNFS: When updating the stateid in layoutreturn, also update the recall range
authorTrond Myklebust <trondmy@gmail.com>
Thu, 16 Aug 2018 01:35:46 +0000 (21:35 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 16 Aug 2018 17:29:36 +0000 (13:29 -0400)
commit09043ca9b83587cab6fb7ed78ce83b2978c8623c
treeceb2c93908a626259dca9fdbe006b90bf30ee490
parent8ed6ba2b9aab656bca12861c7a481b65df85d7aa
pNFS: When updating the stateid in layoutreturn, also update the recall range

When we update the layout stateid in nfs4_layoutreturn_refresh_stateid, we
should also update the range in order to let the server know we're actually
returning everything.

Fixes: 16c278dbfa63 ("pnfs: Fix handling of NFS4ERR_OLD_STATEID replies...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c
fs/nfs/pnfs.c
fs/nfs/pnfs.h