Spdk/lib/bdev
Daniel Verkamp 50cbc74a82 bdev/nvme: simplify I/O command block size math
Remove the redundant sector size check; the generic bdev code already
checks for this.

Also use the bdev blocklen field for both offset and size calculations.
The bdev blocklen is the same as the namespace sector size.

Change-Id: Ia8061eb4cfc229d4b6fbe2caabf2dd81656bc697
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/372862
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2017-08-07 17:48:22 -04:00
..
aio bdev/aio: Poller handles inline channel deletion 2017-08-02 13:58:08 -04:00
error bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
gpt bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
malloc bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
null bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
nvme bdev/nvme: simplify I/O command block size math 2017-08-07 17:48:22 -04:00
rbd bdev/rbd: Poller can now handle channel deletion inline 2017-08-02 13:58:08 -04:00
rpc bdev: Add supported I/O types to RPC 2017-08-02 18:04:55 -04:00
split bdev: Change unmap to use offset/len instead of descriptors 2017-08-04 20:03:37 -04:00
bdev.c bdev: validate I/O offset block alignment 2017-08-07 17:48:22 -04:00
Makefile GPT: add GPT bdev support 2017-07-06 13:44:37 -04:00
scsi_nvme.c bdev: add API to translate to SCSI status 2017-05-04 09:11:42 -07:00
vtune.c bdev: #include VTune file to control warnings 2017-06-08 12:44:25 -04:00