]> www.infradead.org Git - users/sagi/blktests.git/commit
nvme: do not print UUID to log files
authorHannes Reinecke <hare@suse.de>
Fri, 17 Nov 2023 12:05:49 +0000 (21:05 +0900)
committerShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Fri, 24 Nov 2023 00:52:15 +0000 (09:52 +0900)
commitce61317c03ce85ee492a25afb5af8d4ad73a193e
treece1d4607e3904d1072efc127fb1f55a30a49adeb
parenta046a7c18efd2dd475c658d63f9bc37ceb014078
nvme: do not print UUID to log files

The UUID/wwid of a namespace might be assigned externally, so
we shouldn't register it in the 'out' files.
The current checks for UUID/wwid are just there to ensure that
if a UUID is present is should match the wwid setting.
So rather add a function _check_uuid() which does exactly that
and don't register the actual UUID in the 'out' files.

[Shin'ichiro: added check against def_subsys_uuid in _check_uuid()]

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
43 files changed:
tests/nvme/004
tests/nvme/004.out
tests/nvme/008
tests/nvme/008.out
tests/nvme/009
tests/nvme/009.out
tests/nvme/010
tests/nvme/010.out
tests/nvme/011
tests/nvme/011.out
tests/nvme/012
tests/nvme/012.out
tests/nvme/013
tests/nvme/013.out
tests/nvme/014
tests/nvme/014.out
tests/nvme/015
tests/nvme/015.out
tests/nvme/018
tests/nvme/018.out
tests/nvme/019
tests/nvme/019.out
tests/nvme/020
tests/nvme/020.out
tests/nvme/021
tests/nvme/021.out
tests/nvme/022
tests/nvme/022.out
tests/nvme/023
tests/nvme/023.out
tests/nvme/024
tests/nvme/024.out
tests/nvme/025
tests/nvme/025.out
tests/nvme/026
tests/nvme/026.out
tests/nvme/027
tests/nvme/027.out
tests/nvme/028
tests/nvme/028.out
tests/nvme/029
tests/nvme/029.out
tests/nvme/rc