[PATCH blktests] nvme/039: check for sector size of test device

Bart Van Assche bvanassche at acm.org
Mon Nov 25 08:58:02 PST 2024


On 11/25/24 8:29 AM, Bryan Gurney wrote:
> +	SECT_SZ=$(blockdev --getss "${TEST_DEV}")

As far as I know the terminology "sector size" does not occur anywhere
in the NVMe specification. How about changing the variable name SECT_SZ
into something that is an abbreviation of "logical block size" since
that is what blockdev --getss reports?

Thanks,

Bart.




More information about the Linux-nvme mailing list