summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2021-12-07 16:55:49 +0300
committerChristoph Hellwig <hch@lst.de>2021-12-23 13:22:45 +0300
commitf18ee3d988157ebcadc9b7e5fd34811938f50223 (patch)
tree35fa503aaf13484dc581ee2364cc8769d399fd79 /scripts/gdb/linux/proc.py
parent3427f2b2c533d97bcc57b4237c2af21a8bd2cdbc (diff)
downloadlinux-f18ee3d988157ebcadc9b7e5fd34811938f50223.tar.xz
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 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions