diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2016-08-18 18:38:43 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-08-24 23:49:16 +0200 |
commit | 005a07bf0a92e7f0e73fc9a6c9acc992c5dbd00c (patch) | |
tree | 4b8eb1b877b4d2c50934bef8e2df402d0893dcfc /Documentation/ABI | |
parent | ca7909e8bbb4ddc549fa1e8afa695f147bb6358c (diff) | |
download | linux-stable-005a07bf0a92e7f0e73fc9a6c9acc992c5dbd00c.tar.gz linux-stable-005a07bf0a92e7f0e73fc9a6c9acc992c5dbd00c.tar.bz2 linux-stable-005a07bf0a92e7f0e73fc9a6c9acc992c5dbd00c.zip |
rbd: add 'client_addr' sysfs rbd device attribute
Export client addr/nonce, so userspace can check if a image is being
blacklisted.
Signed-off-by: Mike Christie <mchristi@redhat.com>
[idryomov@gmail.com: ceph_client_addr(), endianess fix]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'Documentation/ABI')
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-rbd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-rbd b/Documentation/ABI/testing/sysfs-bus-rbd index 2ddd680929d8..273e27f2491f 100644 --- a/Documentation/ABI/testing/sysfs-bus-rbd +++ b/Documentation/ABI/testing/sysfs-bus-rbd @@ -43,6 +43,12 @@ Description: Available only if rbd module is inserted with single_major Entries under /sys/bus/rbd/devices/<dev-id>/ -------------------------------------------- +client_addr + + The ceph unique client entity_addr_t (address + nonce). + The format is <address>:<port>/<nonce>: '1.2.3.4:1234/5678' or + '[1:2:3:4:5:6:7:8]:1234/5678'. (August 2016, since 4.9.) + client_id The ceph unique client id that was assigned for this specific session. |