Spdk/lib/bdev/nvme
Jim Harris 0095e2b994 bdev/nvme: account for 2MB straddle in queued_next_sge()
This function needs to check for SGEs that straddle a
2MB page boundary, and ensure it does not return
a length that will cross that boundary.

This cannot happen in practice currently with SPDK
since all buffers are allocated using rte_malloc(),
but an upcoming vhost-scsi target may produce
SGEs from a guest VM's physical memory that span
a 2MB boundary.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I8b83c7c39c4cf33815abb22ff2ebc90941b21e28
2016-11-09 10:04:52 -07:00
..
blockdev_nvme_rpc.c env: add spdk_pci_addr_parse() 2016-11-02 14:15:02 -07:00
blockdev_nvme.c bdev/nvme: account for 2MB straddle in queued_next_sge() 2016-11-09 10:04:52 -07:00
blockdev_nvme.h bdev: make construct RPCs return the bdev names 2016-10-31 11:17:46 -07:00
Makefile bdev: Add rpc interface for nvme 2016-10-14 01:54:13 +08:00