commit | 543c09c89fdc007c2990aa9d2abcc62e0dfa1311 | [log] [tgz] |
---|---|---|
author | Rodrigo R. Galvao <rosattig@linux.vnet.ibm.com> | Thu Apr 12 09:16:11 2018 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Apr 12 09:58:27 2018 -0600 |
tree | f015c73f3222a87bebda4608b18be8fc09d8b159 | |
parent | 22b5560195bd66bc43359b71821dc78cc9de56c6 [diff] |
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: Rodrigo R. Galvao <rosattig@linux.vnet.ibm.com> [changelog] Signed-off-by: Keith Busch <keith.busch@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>