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

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

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 ] ~

Diff markup

Differences between /Documentation/ABI/testing/sysfs-class-rnbd-client (Version linux-6.12-rc7) and /Documentation/ABI/testing/sysfs-class-rnbd-client (Version linux-4.9.337)


  1 What:           /sys/class/rnbd-client            
  2 Date:           Feb 2020                          
  3 KernelVersion:  5.7                               
  4 Contact:        Jack Wang <jinpu.wang@cloud.ion    
  5 Description:    Provide information about RNBD    
  6                 All sysfs files that are not r    
  7                                                   
  8                 Example::                         
  9                                                   
 10                     # cat /sys/class/rnbd-clie    
 11                                                   
 12                     > Usage: echo "sessname=<n    
 13                     > [path=<[srcaddr,]dstaddr    
 14                     > [access_mode=<ro|rw|migr    
 15                     >                             
 16                     > addr ::= [ ip:<ipv4> | i    
 17                                                   
 18 What:           /sys/class/rnbd-client/ctl/map    
 19 Date:           Feb 2020                          
 20 KernelVersion:  5.7                               
 21 Contact:        Jack Wang <jinpu.wang@cloud.ion    
 22 Description:    Expected format is the followi    
 23                                                   
 24                     sessname=<name of the rtrs    
 25                     path=<[srcaddr,]dstaddr> [    
 26                     device_path=<full path on     
 27                     [access_mode=<ro|rw|migrat    
 28                                                   
 29                 Where:                            
 30                                                   
 31                 sessname:                         
 32                     accepts a string not bigge    
 33                     a given session on the cli    
 34                     I.e. "clt_hostname-srv_hos    
 35                                                   
 36                 path:                             
 37                     describes a connection bet    
 38                     specifying destination and    
 39                     The addresses are to be pr    
 40                                                   
 41                         ip:<IPv6>                 
 42                         ip:<IPv4>                 
 43                         gid:<GID>                 
 44                                                   
 45                 for example::                     
 46                                                   
 47                     path=ip:10.0.0.66             
 48                                                   
 49                 The single addr is treated as     
 50                 The connection will be establi    
 51                                                   
 52                 ::                                
 53                                                   
 54                     path=ip:10.0.0.66,ip:10.0.    
 55                                                   
 56                 First addr is the source addre    
 57                                                   
 58                 If multiple "path=" options ar    
 59                 will be established and data w    
 60                 the selected multipath policy     
 61                                                   
 62                 device_path:                      
 63                     Path to the block device o    
 64                     relative to the directory     
 65                     'dev_search_path' module p    
 66                     The rnbd_server prepends t    
 67                     with <dev_search_path> and    
 68                     <dev_search_path>/<device_    
 69                     a /dev/rnbd<N> device file    
 70                     directory and an entry in     
 71                     will be created.              
 72                                                   
 73                 If 'dev_search_path' contains     
 74                 have different devices namespa    
 75                 the following parameter "dev_s    
 76                 client has this string "sessna    
 77                 will try to open: /run/rnbd-de    
 78                                                   
 79                 access_mode:                      
 80                     the access_mode parameter     
 81                     mapped as "ro" read-only o    
 82                     a device to be exported in    
 83                     access mode has to be spec    
 84                     mode is desired.              
 85                                                   
 86                 By default "rw" is used.          
 87                                                   
 88                 nr_poll_queues                    
 89                   specifies the number of poll    
 90                   the block-layer will send th    
 91                   For fast network and device     
 92                   IO handling because it saves    
 93                   another process, handling th    
 94                   issuing process.                
 95                                                   
 96                   Set -1 if you want to set it    
 97                   By default rnbd client creat    
 98                                                   
 99                   NOTICE: MUST make a unique s    
100                                                   
101                 Exit Codes:                       
102                                                   
103                 If the device is already mappe    
104                 has an invalid format it will     
105                 be found on the server, it wil    
106                                                   
107                 Finding device file after mapp    
108                 ------------------------------    
109                                                   
110                 After mapping, the device file    
111                 o  The symlink /sys/class/rnbd<    
112                 points to /sys/block/<dev-name    
113                 is the same as the device name    
114                 path the path to the device /d    
115                                                   
116                 * /dev/block/$(cat /sys/class/<    
117                                                   
118                 How to find the <device_id> of    
119                 section.                          
120                                                   
121 What:           /sys/class/rnbd-client/ctl/dev    
122 Date:           Feb 2020                          
123 KernelVersion:  5.7                               
124 Contact:        Jack Wang <jinpu.wang@cloud.ion    
125 Description:    For each device mapped on the     
126                 /sys/class/rnbd-client/ctl/dev<    
127                 to the block device created by    
128                 The <device_id> of each device    
129                                                   
130                 - If the 'device_path' provide    
131                   they are replaced by exclama    
132                   <device_id>. Otherwise, the     
133                   "device_path" provided.         
                                                      

~ [ 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