rbd: add 'snap_id' sysfs rbd device attribute

Export snap id in sysfs, so tools like multipathd can use it in a 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:44 +02:00 • committed by Ilya Dryomov
commit 92a5867154
2 changed files with 14 additions and 0 deletions

View file

@ -102,6 +102,10 @@ current_snap
The current snapshot for which the device is mapped.
snap_id
The current snapshot's id. (August 2016, since 4.9.)
parent
Information identifying the chain of parent images in a layered rbd