From: Jack Wang Date: Thu, 26 Nov 2020 10:47:21 +0000 (+0100) Subject: Documentation/ABI/rnbd-srv: add document for force_close X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=765c5c56ffde0a555ce69559ab275395fb1a12a9;p=linux.git Documentation/ABI/rnbd-srv: add document for force_close describe force_close of device Signed-off-by: Jack Wang Signed-off-by: Jens Axboe --- diff --git a/Documentation/ABI/testing/sysfs-class-rnbd-server b/Documentation/ABI/testing/sysfs-class-rnbd-server index ba60a90c0e45a..6c5996cd7cfb7 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 Danil Kipnis Description: Contains the device access mode: ro, rw or migration. + +What: /sys/class/rnbd-server/ctl/devices//sessions//force_close +Date: Nov 2020 +KernelVersion: 5.10 +Contact: Jack Wang Danil Kipnis +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.