Documentation/ABI/rnbd-srv: add document for force_close
authorJack Wang <jinpu.wang@cloud.ionos.com>
Thu, 26 Nov 2020 10:47:21 +0000 (11:47 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 4 Dec 2020 16:41:10 +0000 (09:41 -0700)
describe force_close of device

Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Documentation/ABI/testing/sysfs-class-rnbd-server

index ba60a90c0e45a355f7f9d5eff8076da2b41b4738..6c5996cd7cfb72efb80f554c2c9570fc7b9a4206 100644 (file)
@@ -48,3 +48,11 @@ Date:                Feb 2020
 KernelVersion: 5.7
 Contact:       Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 Description:   Contains the device access mode: ro, rw or migration.
+
+What:          /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/force_close
+Date:          Nov 2020
+KernelVersion: 5.10
+Contact:       Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
+Description:   Write "1" to the file to close the device on server side. Please
+               note that the client side device will not be closed, read or
+               write to the device will get -ENOTCONN.