summaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs_nfs.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-08-19 22:30:00 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-08-19 23:01:54 -0500
commit2a606188c55990fa65cba3fd9b64f2b7542b7692 (patch)
tree2ad63457826e93f3f922f4e1a49dc77449a9c644 /fs/nfs/pnfs_nfs.c
parentc740624989eb87fa7cbd1b5338cef01dd49f1f29 (diff)
downloadop-kernel-dev-2a606188c55990fa65cba3fd9b64f2b7542b7692.zip
op-kernel-dev-2a606188c55990fa65cba3fd9b64f2b7542b7692.tar.gz
NFSv4: Enable delegated opens even when reboot recovery is pending
Unlike the previous attempt, this takes into account the fact that we may be calling it from the recovery thread itself. Detect this by looking at what kind of open we're doing, and checking the state of the NFS_DELEGATION_NEED_RECLAIM if it turns out we're doing a reboot reclaim-type open. Cc: Olga Kornievskaia <aglo@umich.edu> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs_nfs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud