Spdk/lib
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
..
bdev bdev/nvme: account for 2MB straddle in queued_next_sge() 2016-11-09 10:04:52 -07:00
conf build: include spdk.common.mk in lib Makefiles 2016-07-18 16:17:40 -07:00
copy env: remove spdk_pci_device_get_device_name() 2016-11-02 15:58:03 -07:00
cunit eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
env env: add wrapper to call function without thread affinity (#60) 2016-11-07 10:32:16 -07:00
event app: add spdk_app_start_shutdown() 2016-11-07 09:59:59 -07:00
ioat ioat: Remove ioat_impl, use swappable env lib instead. 2016-10-11 13:34:08 -07:00
iscsi Replace rte_panic() with abort() 2016-11-08 08:57:49 -07:00
json json: add spdk_json_write_[u]int64() 2016-11-02 09:10:54 -07:00
jsonrpc build: include spdk.common.mk in lib Makefiles 2016-07-18 16:17:40 -07:00
log spdk: tweak tracedump 2016-10-05 09:40:21 -07:00
net net: fix spdk_get_ifc_ipv4 request creation 2016-10-20 16:22:05 -07:00
nvme nvme: return virtual address in SGL callback 2016-11-09 08:57:40 -07:00
nvmf nvmf: fix the wrong cleanup logic in the RDMA initialization process 2016-11-02 10:30:39 -07:00
rpc rpc: always unregister RPC setup poller 2016-10-21 15:42:53 -07:00
scsi bdev: add members for SCSI sense information in spdk_bdev_io (#59) 2016-11-07 13:14:47 -07:00
trace Replace rte_get_tsc calls with spdk_get_ticks 2016-10-11 13:34:09 -07:00
util eofnl: check for extra trailing newlines 2016-10-11 13:30:33 -07:00
Makefile memory: Rename to env 2016-10-05 09:49:35 -07:00