Lines Matching +full:1 +full:as +full:- +full:2020

1 What:		/sys/class/rnbd-client
2 Date: Feb 2020
5 Description: Provide information about RNBD-client.
6 All sysfs files that are not read-only provide the usage information on read:
10 # cat /sys/class/rnbd-client/ctl/map_device
18 What: /sys/class/rnbd-client/ctl/map_device
19 Date: Feb 2020
34 I.e. "clt_hostname-srv_hostname" could be a natural choice.
49 The single addr is treated as the destination.
70 directory and an entry in /sys/class/rnbd-client/ctl/devices
75 the following parameter "dev_search_path=/run/rnbd-devs/%SESSNAME%",
77 will try to open: /run/rnbd-devs/blya/sda.
81 mapped as "ro" read-only or "rw" read-write. The server allows
83 access mode has to be specified if a second mapping in read-write
89 specifies the number of poll-mode queues. If the IO has HIPRI flag,
90 the block-layer will send the IO via the poll-mode queue.
91 For fast network and device the polling is faster than interrupt-base
96 Set -1 if you want to set it as the number of CPUs
97 By default rnbd client creates only irq-mode queues.
99 NOTICE: MUST make a unique session for a device using the poll-mode queues.
108 ---------------------------------
111 o The symlink /sys/class/rnbd-client/ctl/devices/<device_id>@<session_name>
112 points to /sys/block/<dev-name>. The last part of the symlink destination
113 is the same as the device name. By extracting the last part of the
114 path the path to the device /dev/<dev-name> can be build.
116 * /dev/block/$(cat /sys/class/rnbd-client/ctl/devices/<device_id>@<session_name>/dev)
121 What: /sys/class/rnbd-client/ctl/devices/
122 Date: Feb 2020
125 Description: For each device mapped on the client a new symbolic link is created as
126 /sys/class/rnbd-client/ctl/devices/<device_id>@<session_name>, which points
128 The <device_id> of each device is created as follows:
130 - If the 'device_path' provided during mapping contains slashes ("/"),
131 they are replaced by exclamation mark ("!") and used as as the
132 <device_id>. Otherwise, the <device_id> will be the same as the