act_tr is supposed to be allocated with the system allocator (malloc/calloc) rather than nvme_malloc. Additionally, the size was incorrect - act_tr is an array of pointers, not a single struct nvme_tracker. Change-Id: I2c66b4891d11d0a8a32e3740c27fcfb42b1db2d7 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> |
||
---|---|---|
doc | ||
examples | ||
include/spdk | ||
lib | ||
mk | ||
scripts | ||
test | ||
.gitignore | ||
autobuild.sh | ||
autopackage.sh | ||
autotest.sh | ||
CONFIG | ||
LICENSE | ||
Makefile | ||
README.md |
Storage Performance Development Kit
The Storage Performance Development Kit (SPDK) provides a set of tools and libraries for writing high performance, scalable, user-mode storage applications. It achieves high performance by moving all of the necessary drivers into userspace and operating in a polled mode instead of relying on interrupts, which avoids kernel context switches and eliminates interrupt handling overhead.
Prerequisites
To build SPDK, some dependencies must be installed.
Fedora/CentOS:
- gcc
- libpciaccess-devel
- CUnit-devel
Ubuntu/Debian:
- gcc
- libpciaccess-dev
- make
- libcunit1-dev
Additionally, DPDK is required. See DPDK Quick Start.
Building
Once the prerequisites are installed, run 'make' within the SPDK directory to build the SPDK libraries and examples.
make DPDK_DIR=/path/to/dpdk