• Home
  • Raw
  • Download

Lines Matching +full:a +full:- +full:side

1 What:		/sys/class/rnbd-client
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
13 > [path=<[srcaddr,]dstaddr>] device_path=<full path on remote side>
18 What: /sys/class/rnbd-client/ctl/map_device
26 device_path=<full path on remote side>
32 accepts a string not bigger than 256 chars, which identifies
33 a given session on the client and on the server.
34 I.e. "clt_hostname-srv_hostname" could be a natural choice.
37 describes a connection between the client and the server by
63 Path to the block device on the server side. Path is specified
64 relative to the directory on server side configured in the
69 a /dev/rnbd<N> device file, a /sys/block/rnbd<N>/
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
82 a device to be exported in rw mode only once. The "migration"
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
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/
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
130 - If the 'device_path' provided during mapping contains slashes ("/"),