diff options
author | Jack Wang <jinpu.wang@cloud.ionos.com> | 2020-05-11 15:51:28 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-05-17 18:57:17 -0300 |
commit | 8cee532f469bbcdb6ac0ab161ebff36fbc6439d7 (patch) | |
tree | 9df5159d400c22b8969a623492a7bba18a519888 /drivers/block/Kconfig | |
parent | f0aad9baadb5b2933e6f4fbb2fd3ffbdcc35b2cf (diff) | |
download | linux-8cee532f469bbcdb6ac0ab161ebff36fbc6439d7.tar.bz2 |
block/rnbd: server: sysfs interface functions
This is the sysfs interface to rnbd mapped devices on server side:
/sys/class/rnbd-server/ctl/devices/<device_name>/
|- block_dev
| *** link pointing to the corresponding block device sysfs entry
|
|- sessions/<session-name>/
| *** sessions directory
|
|- read_only
| *** is devices mapped as read only
|
|- mapping_path
*** relative device path provided by the client during mapping
Link: https://lore.kernel.org/r/20200511135131.27580-23-danil.kipnis@cloud.ionos.com
Signed-off-by: Danil Kipnis <danil.kipnis@cloud.ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/block/Kconfig')
0 files changed, 0 insertions, 0 deletions