~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/ABI/testing/sysfs-class-rnbd-server

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 What:           /sys/class/rnbd-server
  2 Date:           Feb 2020
  3 KernelVersion:  5.7
  4 Contact:        Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
  5 Description:    provide information about RNBD-server.
  6 
  7 What:           /sys/class/rnbd-server/ctl/
  8 Date:           Feb 2020
  9 KernelVersion:  5.7
 10 Contact:        Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 11 Description:    When a client maps a device, a directory entry with the name of the
 12                 block device is created under /sys/class/rnbd-server/ctl/devices/.
 13 
 14 What:           /sys/class/rnbd-server/ctl/devices/<device_name>/block_dev
 15 Date:           Feb 2020
 16 KernelVersion:  5.7
 17 Contact:        Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 18 Description:    Is a symlink to the sysfs entry of the exported device.
 19 
 20                 Example:
 21                 block_dev -> ../../../../class/block/ram0
 22 
 23 What:           /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/
 24 Date:           Feb 2020
 25 KernelVersion:  5.7
 26 Contact:        Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 27 Description:    For each client a particular device is exported to, following directory will be
 28                 created:
 29 
 30                 /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/
 31 
 32                 When the device is unmapped by that client, the directory will be removed.
 33 
 34 What:           /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/read_only
 35 Date:           Feb 2020
 36 KernelVersion:  5.7
 37 Contact:        Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 38 Description:    Contains '1' if device is mapped read-only, otherwise '0'.
 39 
 40 What:           /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/mapping_path
 41 Date:           Feb 2020
 42 KernelVersion:  5.7
 43 Contact:        Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 44 Description:    Contains the relative device path provided by the user during mapping.
 45 
 46 What:           /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/access_mode
 47 Date:           Feb 2020
 48 KernelVersion:  5.7
 49 Contact:        Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 50 Description:    Contains the device access mode: ro, rw or migration.
 51 
 52 What:           /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/force_close
 53 Date:           Nov 2020
 54 KernelVersion:  5.10
 55 Contact:        Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 56 Description:    Write "1" to the file to close the device on server side. Please
 57                 note that the client side device will not be closed, read or
 58                 write to the device will get -ENOTCONN.

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php