mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	 54a19b4d3f
			
		
	
	
		54a19b4d3f
		
	
	
	
	
		
			
			There are some ABI documents that, while they don't generate any warnings, they have issues when parsed by get_abi.pl script on its output result. Address them, in order to provide a clean output. Reviewed-by: Tom Rix <trix@redhat.com> # for fpga-manager Reviewed-By: Kajol Jain<kjain@linux.ibm.com> # for sysfs-bus-event_source-devices-hv_gpci and sysfs-bus-event_source-devices-hv_24x7 Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> #for IIO Acked-by: Oded Gabbay <oded.gabbay@gmail.com> # for Habanalabs Acked-by: Vaibhav Jain <vaibhav@linux.ibm.com> # for sysfs-bus-papr-pmem Acked-by: Cezary Rojewski <cezary.rojewski@intel.com> # for catpt Acked-by: Suzuki K Poulose <suzuki.poulose@arm.com> Acked-by: Ilya Dryomov <idryomov@gmail.com> # for rbd Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Link: https://lore.kernel.org/r/5bc78e5b68ed1e9e39135173857cb2e753be868f.1604042072.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
		
			
				
	
	
		
			46 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
	
		
			2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| What:		/sys/block/rnbd<N>/rnbd/unmap_device
 | |
| Date:		Feb 2020
 | |
| KernelVersion:	5.7
 | |
| Contact:	Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 | |
| Description:	To unmap a volume, "normal" or "force" has to be written to:
 | |
| 		/sys/block/rnbd<N>/rnbd/unmap_device
 | |
| 
 | |
| 		When "normal" is used, the operation will fail with EBUSY if any process
 | |
| 		is using the device.  When "force" is used, the device is also unmapped
 | |
| 		when device is in use.  All I/Os that are in progress will fail.
 | |
| 
 | |
| 		Example::
 | |
| 
 | |
| 		  # echo "normal" > /sys/block/rnbd0/rnbd/unmap_device
 | |
| 
 | |
| What:		/sys/block/rnbd<N>/rnbd/state
 | |
| Date:		Feb 2020
 | |
| KernelVersion:	5.7
 | |
| Contact:	Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 | |
| Description:	The file contains the current state of the block device. The state file
 | |
| 		returns "open" when the device is successfully mapped from the server
 | |
| 		and accepting I/O requests. When the connection to the server gets
 | |
| 		disconnected in case of an error (e.g. link failure), the state file
 | |
| 		returns "closed" and all I/O requests submitted to it will fail with -EIO.
 | |
| 
 | |
| What:		/sys/block/rnbd<N>/rnbd/session
 | |
| Date:		Feb 2020
 | |
| KernelVersion:	5.7
 | |
| Contact:	Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 | |
| Description:	RNBD uses RTRS session to transport the data between client and
 | |
| 		server.  The entry "session" contains the name of the session, that
 | |
| 		was used to establish the RTRS session.  It's the same name that
 | |
| 		was passed as server parameter to the map_device entry.
 | |
| 
 | |
| What:		/sys/block/rnbd<N>/rnbd/mapping_path
 | |
| Date:		Feb 2020
 | |
| KernelVersion:	5.7
 | |
| Contact:	Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 | |
| Description:	Contains the path that was passed as "device_path" to the map_device
 | |
| 		operation.
 | |
| 
 | |
| What:		/sys/block/rnbd<N>/rnbd/access_mode
 | |
| Date:		Feb 2020
 | |
| KernelVersion:	5.7
 | |
| Contact:	Jack Wang <jinpu.wang@cloud.ionos.com> Danil Kipnis <danil.kipnis@cloud.ionos.com>
 | |
| Description:	Contains the device access mode: ro, rw or migration.
 |