- remove pthread library link from dpdk cmake
- fix the bugs of NVMEDevice
Signed-off-by: Ilsoo Byun <ilsoo.byun@sk.com>
list(APPEND check_LIBRARIES -libverbs)
endif()
set(DPDK_LIBRARIES
- -Wl,--whole-archive ${check_LIBRARIES} -lpthread -Wl,--no-whole-archive)
+ -Wl,--whole-archive ${check_LIBRARIES} -Wl,--no-whole-archive)
endif(DPDK_FOUND)
int NVMEDevice::write(uint64_t off, bufferlist &bl, bool buffered)
{
// FIXME: there is presumably a more efficient way to do this...
- IOContext ioc(NULL);
+ IOContext ioc(cct, NULL);
aio_write(off, bl, &ioc, buffered);
ioc.aio_wait();
return 0;
#include "include/interval_set.h"
#include "common/ceph_time.h"
#include "common/Mutex.h"
+#include "common/Cond.h"
#include "BlockDevice.h"
enum class IOCommand {