test/nvme: Simple Copy Command takes nlb as a 0's based value
Signed-off-by: Krishna Kanth Reddy <krish.reddy@samsung.com> Change-Id: I10a33d6478ce10fd2786c8eca2f179a9809764dc Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7973 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
3703ebc710
commit
b73d3e6894
@ -266,7 +266,7 @@ simple_copy_test(void)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
range.nlb = NUM_LBAS;
|
||||
range.nlb = NUM_LBAS - 1;
|
||||
range.slba = 0;
|
||||
|
||||
rc = spdk_nvme_ns_cmd_copy(ns_entry->ns, ns_entry->qpair,
|
||||
|
Loading…
Reference in New Issue
Block a user