]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
NVMEDevice: Eliminate virt to physical address translation in data_buf_next_sge 12812/head
authoroptimistyzy <optimistyzy@gmail.com>
Fri, 6 Jan 2017 12:16:00 +0000 (20:16 +0800)
committeroptimistyzy <optimistyzy@gmail.com>
Sun, 8 Jan 2017 00:17:32 +0000 (08:17 +0800)
commit201d4fc606ba2f361d884a559bf6532ea3c309e0
treef2f350701dac7731c163e0489d4602847efdd961
parent95bc52abcee5dd374ac3f134c5af4586987b2aa7
NVMEDevice: Eliminate virt to physical address translation in data_buf_next_sge

After SPDK is updated, SPDK requires virtual address
instead of physical address in huge page memory. Thus,
we do not need to pass the physical address since SPDK
library will do the address translation work.If we
still use the original code, it seems a bug.

In this patch, we will also use spdk_zmalloc instead of
dpdk's rte_malloc_socket function.

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
src/os/bluestore/NVMEDevice.cc