nvmet: Fix nvmet_execute_write_zeroes sector count
We have to increment the number of logical blocks to a 1's based value in the native format prior to converting to 512b units. Signed-off-by: NRodrigo R. Galvao <rosattig@linux.vnet.ibm.com> [changelog] Signed-off-by: NKeith Busch <keith.busch@intel.com> Signed-off-by: NJens Axboe <axboe@kernel.dk>
Showing
想要评论请 注册 或 登录