diff options
author | 2024-06-17 09:27:26 +0200 | |
---|---|---|
committer | 2024-06-17 11:29:22 -0700 | |
commit | f31e85a4d7c6ac4a3e014129c9cdc31592ea29f3 (patch) | |
tree | c73afac14764e1b33ce50186e372e84743bc85f9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme: fix NVME_NS_DEAC may incorrectly identifying the disk as EXT_LBA. (diff) | |
download | wireguard-linux-f31e85a4d7c6ac4a3e014129c9cdc31592ea29f3.tar.xz wireguard-linux-f31e85a4d7c6ac4a3e014129c9cdc31592ea29f3.zip |
nvmet: do not return 'reserved' for empty TSAS values
The 'TSAS' value is only defined for TCP and RDMA, but returning
'reserved' for undefined values tricked nvmetcli to try to write
'reserved' when restoring from a config file. This caused an error
and the configuration would not be applied.
Fixes: 3f123494db72 ("nvmet: make TCP sectype settable via configfs")
Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions