That is still a rather serious kernel bug. The device driver should not access a different device regardless of the data passed to it from userspace.
That would be a serious kernel bug, then.
The various --security commands of hdparm work only on a single device per command. The code and manpage don't make it clear, but that is how it works.
hdparm -t does not display accurate bandwidth for fast SSD
The man page does say it measures "how fast the drive can sustain sequential data reads", which is a much more useful measurement than some theoretical multi-queue thing that rarely happens in real life. So, no, it won't show the peak performance capability of an NVMe drive. But yes, it will show the peak rate that the drive can read a file from disk. More useful to most. Not a bug.
The man page does say it measures "how fast the drive can sustain sequential data reads", which is a much more useful measurement than some theoretical multi-queue thing that rarely happens in real life. So, no, it won't show the peak performance capability of an NVMe drive. But yes, it will show that peak rate that the drive can read a file from disk. More useful to most. Not a bug.
The man page does say it meansures "how fast the drive can sustain sequential data reads", which is a much more useful measurement than some theoretical multi-queue thing that rarely happens in real life. So, no, it won't show the peak performance capability of an NVMe drive. But yes, it will show that peak rate that the drive can read a file from disk. More useful to most. Not a bug.
I actually ran into this myself last fall, when I got a new notebook computer and then tested various NVMe drives for use with it. There are existing Linux utilities to do various configurations of multi-threaded I/O benchmarks, and they do it reasonably well. Eg. KDiskMark on KDE/Plasma, or the Gnome disk utility. The subject of benchmarking drives is sufficiently complex, I don't think it belongs in a low-level utility like hdparm, which is used on everything from small micro-controllers, RaspberryPi's,...