Spdk/lib/bdev
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
..
aio bdev: make construct RPCs return the bdev names 2016-10-31 11:17:46 -07:00
malloc bdev: make construct RPCs return the bdev names 2016-10-31 11:17:46 -07:00
nvme bdev/nvme: account for 2MB straddle in queued_next_sge() 2016-11-09 10:04:52 -07:00
rbd bdev/rbd: remove unused blockdev_rbd_io::ch 2016-11-09 09:16:53 -07:00
rpc bdev: add get_bdevs RPC 2016-11-02 09:10:54 -07:00
bdev_module.h bdev: move spdk_bdev_fn_table into bdev_module.h 2016-11-09 09:59:39 -07:00
bdev.c Replace rte_panic() with abort() 2016-11-08 08:57:49 -07:00
Makefile bdev: add get_bdevs RPC 2016-11-02 09:10:54 -07:00