summaryrefslogtreecommitdiffstats
path: root/fs/nfs/pnfs.h
diff options
context:
space:
mode:
authorFred Isaman <fred.isaman@gmail.com>2016-09-20 12:56:02 +0200
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-05-31 21:03:11 +0200
commitf86c3ac50276b6b9d6246e0fcb4781c4eaeb04eb (patch)
tree559940e3d20fdbfbbae71f2963e8ef16870d8173 /fs/nfs/pnfs.h
parentNFS4: move ctx into nfs4_run_open_task (diff)
downloadlinux-f86c3ac50276b6b9d6246e0fcb4781c4eaeb04eb.tar.xz
linux-f86c3ac50276b6b9d6246e0fcb4781c4eaeb04eb.zip
pnfs: Add layout driver flag PNFS_LAYOUTGET_ON_OPEN
Driver can set flag to allow LAYOUTGET to be sent with OPEN. Signed-off-by: Fred Isaman <fred.isaman@gmail.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to '')
-rw-r--r--fs/nfs/pnfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/pnfs.h b/fs/nfs/pnfs.h
index daf6cbf5c15f..f71a55f11b97 100644
--- a/fs/nfs/pnfs.h
+++ b/fs/nfs/pnfs.h
@@ -110,6 +110,7 @@ enum layoutdriver_policy_flags {
PNFS_LAYOUTRET_ON_SETATTR = 1 << 0,
PNFS_LAYOUTRET_ON_ERROR = 1 << 1,
PNFS_READ_WHOLE_PAGE = 1 << 2,
+ PNFS_LAYOUTGET_ON_OPEN = 1 << 3,
};
struct nfs4_deviceid_node;