rbd: add 'cluster_fsid' sysfs rbd device attribute

Export the cluster fsid, so tools like udev and multipath-tools can use
it for part of the uuid.

Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
This commit is contained in:
Mike Christie 2016-08-18 18:38:43 +02:00 • committed by Ilya Dryomov
commit 267fb90b83
2 changed files with 14 additions and 0 deletions

View file

@ -53,6 +53,10 @@ client_id
The ceph unique client id that was assigned for this specific session.
cluster_fsid
The ceph cluster UUID. (August 2016, since 4.9.)
features
A hexadecimal encoding of the feature bits for this image.