From 2bfeefb9ded83e7efe00a1acc1e996a40ef5440e Mon Sep 17 00:00:00 2001 From: tangwenjun3 Date: Sat, 18 Feb 2017 11:07:19 +0800 Subject: [PATCH] os/bluestore:fix bug in aio_read() fixed compilation issue in aio_read() when enable spdk Signed-off-by: tangwenjun --- src/os/bluestore/NVMEDevice.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/os/bluestore/NVMEDevice.cc b/src/os/bluestore/NVMEDevice.cc index 13011580d05d..de7c6e4c6fd6 100644 --- a/src/os/bluestore/NVMEDevice.cc +++ b/src/os/bluestore/NVMEDevice.cc @@ -947,7 +947,6 @@ int NVMEDevice::aio_read( bufferlist *pbl, IOContext *ioc) { - uint64_t len = bl.length(); dout(20) << __func__ << " " << off << "~" << len << " ioc " << ioc << dendl; assert(off % block_size == 0); assert(len % block_size == 0); -- 2.47.3