diff options
author | Hannes Reinecke <hare@suse.de> | 2021-12-07 14:55:49 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-12-23 11:22:45 +0100 |
commit | f18ee3d988157ebcadc9b7e5fd34811938f50223 (patch) | |
tree | 35fa503aaf13484dc581ee2364cc8769d399fd79 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3427f2b2c533d97bcc57b4237c2af21a8bd2cdbc (diff) |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions