aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Wang <[email protected]>2020-11-26 11:47:21 +0100
committerJens Axboe <[email protected]>2020-12-04 09:41:10 -0700
commit765c5c56ffde0a555ce69559ab275395fb1a12a9 (patch)
tree8bb8b3cfec05366065c433d1f59644810404c321
parent786998050cbc8ead32e6e9fcda2facb3bf3d198d (diff)
Documentation/ABI/rnbd-srv: add document for force_close
describe force_close of device Signed-off-by: Jack Wang <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r--Documentation/ABI/testing/sysfs-class-rnbd-server8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-class-rnbd-server b/Documentation/ABI/testing/sysfs-class-rnbd-server
index ba60a90c0e45..6c5996cd7cfb 100644
--- a/Documentation/ABI/testing/sysfs-class-rnbd-server
+++ b/Documentation/ABI/testing/sysfs-class-rnbd-server
@@ -48,3 +48,11 @@ Date: Feb 2020
KernelVersion: 5.7
Contact: Jack Wang <[email protected]> Danil Kipnis <[email protected]>
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 <[email protected]> Danil Kipnis <[email protected]>
+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.