]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme.c: read, write data size should be block_count * logical block size
authorSteven Seungcheol Lee <sc108.lee@samsung.com>
Thu, 24 Sep 2020 02:48:43 +0000 (11:48 +0900)
committerKeith Busch <kbusch@kernel.org>
Thu, 24 Sep 2020 15:47:31 +0000 (09:47 -0600)
commit3aed6baf7dac40e1cccaa26eb6cf4b6f202a2f42
tree4141ceb67b323070a62a97c8451cd13b75c00358
parent55568b4b418f2db24928242fb6780ccc4d02b1f7
nvme.c: read, write data size should be block_count * logical block size

Physical block size could be different with logical block size from kernel
because of npwg(Namespace Preferred Write Granularity) & nows(Namespace Optimal Write Size)

physical block size would be multiple of logical block size.

Signed-off-by: Steven Seungcheol Lee <sc108.lee@samsung.com>
Reviewed-by: Beomsoo Kim <beomsooo.kim@samsung.com>
nvme.c