]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
NVMEDevice: fix the build error with latest spdk
authorKefu Chai <kchai@redhat.com>
Wed, 3 Feb 2016 10:27:18 +0000 (18:27 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 4 Feb 2016 06:03:21 +0000 (14:03 +0800)
commitff56154620cee7221d9f66a61cd61d813d449c79
treefea10e867b3f43cb7eb766596b4228598fdb9413
parent06cecb4b907a38b8131e6a12f01d9b5e22c19cf4
NVMEDevice: fix the build error with latest spdk

* include spdk headers in source file
* declare const string with "const" specifier
* pass flag to nvme_ns_cmd_{write,read}()

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/bluestore/NVMEDevice.cc
src/os/bluestore/NVMEDevice.h