OpenCloudOS-Kernel/drivers/nvme
Hannes Reinecke f18ee3d988 nvme-fabrics: print out valid arguments when reading from /dev/nvme-fabrics
Currently applications have a hard time figuring out which
nvme-over-fabrics arguments are supported for any given kernel;
the ioctl will return an error code on failure, and the application
has to guess whether this was due to an invalid argument or due
to a connection or controller error.
With this patch applications can read a list of supported
arguments by simply reading from /dev/nvme-fabrics, allowing
them to validate the connection string.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2021-12-23 11:22:45 +01:00
..
host nvme-fabrics: print out valid arguments when reading from /dev/nvme-fabrics 2021-12-23 11:22:45 +01:00
target block: remove the gendisk argument to blk_execute_rq 2021-11-29 06:41:29 -07:00
Kconfig
Makefile