From: tangwenjun3 Date: Sat, 18 Feb 2017 03:07:19 +0000 (+0800) Subject: os/bluestore:fix bug in aio_read() X-Git-Tag: v12.0.1~356^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2bfeefb9ded83e7efe00a1acc1e996a40ef5440e;p=ceph.git os/bluestore:fix bug in aio_read() fixed compilation issue in aio_read() when enable spdk Signed-off-by: tangwenjun --- diff --git a/src/os/bluestore/NVMEDevice.cc b/src/os/bluestore/NVMEDevice.cc index 13011580d05..de7c6e4c6fd 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);