diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-11 13:43:38 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-15 10:49:43 -0400 |
commit | d527e5c15de8de813cd0a2ad0b769f68c6226938 (patch) | |
tree | b96a57f9c6a628d66b605b9f7ef7e579b01a35b1 /fs/nfs/pnfs.h | |
parent | 8fcdc31b3d09bc348ff9bf752ae1291828756cfa (diff) | |
download | op-kernel-dev-d527e5c15de8de813cd0a2ad0b769f68c6226938.zip op-kernel-dev-d527e5c15de8de813cd0a2ad0b769f68c6226938.tar.gz |
NFSv4.1: Do not call pnfs_return_layout() from an rpciod context
Move the call to pnfs_return_layout() to the read and write rpc_release()
callbacks, so that it gets called from nfsiod, which is a more appropriate
context.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/pnfs.h')
-rw-r--r-- | fs/nfs/pnfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h index 2d722db..dbf7bba 100644 --- a/fs/nfs/pnfs.h +++ b/fs/nfs/pnfs.h @@ -62,6 +62,7 @@ enum { NFS_LAYOUT_RW_FAILED, /* get rw layout failed stop trying */ NFS_LAYOUT_BULK_RECALL, /* bulk recall affecting layout */ NFS_LAYOUT_ROC, /* some lseg had roc bit set */ + NFS_LAYOUT_RETURN, /* Return this layout ASAP */ }; enum layoutdriver_policy_flags { |