diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2016-08-12 17:40:02 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-08-25 00:49:16 +0300 |
commit | ed95b21a4b0a71ef89306cdeb427d53cc9cb343f (patch) | |
tree | 3a8ff6e713df797980ffc5df4411625a0f4a0f36 /net/ceph/ceph_strings.c | |
parent | 99d1694310df3ffef66902f5bc1a23e95a724aa3 (diff) | |
download | linux-ed95b21a4b0a71ef89306cdeb427d53cc9cb343f.tar.xz |
rbd: support for exclusive-lock feature
Add basic support for RBD_FEATURE_EXCLUSIVE_LOCK feature. Maintenance
operations (resize, snapshot create, etc) are offloaded to librbd via
returning -EOPNOTSUPP - librbd should request the lock and execute the
operation.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Tested-by: Mike Christie <mchristi@redhat.com>
Diffstat (limited to 'net/ceph/ceph_strings.c')
-rw-r--r-- | net/ceph/ceph_strings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ceph/ceph_strings.c b/net/ceph/ceph_strings.c index 3773a4fa11e3..19b7d8aa915c 100644 --- a/net/ceph/ceph_strings.c +++ b/net/ceph/ceph_strings.c @@ -15,6 +15,7 @@ const char *ceph_entity_type_name(int type) default: return "unknown"; } } +EXPORT_SYMBOL(ceph_entity_type_name); const char *ceph_osd_op_name(int op) { |