summaryrefslogtreecommitdiff
path: root/net/ceph
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-08-12 14:40:02 (GMT)
committerIlya Dryomov <idryomov@gmail.com>2016-08-24 21:49:16 (GMT)
commited95b21a4b0a71ef89306cdeb427d53cc9cb343f (patch)
tree3a8ff6e713df797980ffc5df4411625a0f4a0f36 /net/ceph
parent99d1694310df3ffef66902f5bc1a23e95a724aa3 (diff)
downloadlinux-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')
-rw-r--r--net/ceph/ceph_strings.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ceph/ceph_strings.c b/net/ceph/ceph_strings.c
index 3773a4f..19b7d8a 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)
{