From: SPDK <spdk-bounces(a)lists.01.org> on behalf of "Bhadauria, Varun"
<varun.bhadauria(a)sony.com>
Reply-To: Storage Performance Development Kit <spdk(a)lists.01.org>
Date: Wednesday, August 3, 2016 at 12:30 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] clarification for lba_count argument for spdk_nvme_ns_cmd_read/write
Hello
lba_count
length (in sectors) for the write operation
Is the “sectors” referenced here 512 bytes or the sector size supported by the H/W
(spdk_nvme_ns_get_sector_size)?
-Varun
Hi Varun,
Sectors is in terms of the LBA format on the targeted namespace.
spdk_nvme_ns_get_sector_size() will return that value.
-Jim
Show replies by date