diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-08-12 18:02:31 +0200 |
---|---|---|
committer | Martin Brandenburg <martin@omnibond.com> | 2016-08-12 21:12:54 +0200 |
commit | 482664ddba81b3a5404fd083bb9697dfffc0b6a4 (patch) | |
tree | f4dd0268a8cf58fd898f73dd7b26a0a9ef5d2eff /fs/orangefs/orangefs-kernel.h | |
parent | orangefs: record userspace version for feature compatbility (diff) | |
download | linux-482664ddba81b3a5404fd083bb9697dfffc0b6a4.tar.xz linux-482664ddba81b3a5404fd083bb9697dfffc0b6a4.zip |
orangefs: add features op
This is a new userspace operation, which will be done if the client-core
version is greater than or equal to 2.9.6. This will provide a way to
implement optional features and to determine which features are
supported by the client-core. If the client-core version is older than
2.9.6, no optional features are supported and the op will not be done.
The intent is to allow protocol extensions without relying on the
client-core's current behavior of ignoring what it doesn't understand.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Diffstat (limited to 'fs/orangefs/orangefs-kernel.h')
-rw-r--r-- | fs/orangefs/orangefs-kernel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/orangefs/orangefs-kernel.h b/fs/orangefs/orangefs-kernel.h index ff3566a8388f..6cf3f467fd89 100644 --- a/fs/orangefs/orangefs-kernel.h +++ b/fs/orangefs/orangefs-kernel.h @@ -447,6 +447,8 @@ void purge_waiting_ops(void); /* * defined in super.c */ +extern uint64_t orangefs_features; + struct dentry *orangefs_mount(struct file_system_type *fst, int flags, const char *devname, @@ -506,7 +508,7 @@ ssize_t orangefs_inode_read(struct inode *inode, /* * defined in devorangefs-req.c */ -extern uint32_t userspace_version; +extern uint32_t orangefs_userspace_version; int orangefs_dev_init(void); void orangefs_dev_cleanup(void); |