From 8b80a9ba7d6ec98a6ce836eded20b58ff0044aa1 Mon Sep 17 00:00:00 2001 From: Pan Liu Date: Sun, 27 Aug 2017 23:06:55 +0800 Subject: [PATCH] bluestore/NVMEDevice: remove useless aio_stop in class NVMEDevice Signed-off-by: Pan Liu Signed-off-by: Ziye Yang --- src/os/bluestore/NVMEDevice.cc | 3 +-- src/os/bluestore/NVMEDevice.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/os/bluestore/NVMEDevice.cc b/src/os/bluestore/NVMEDevice.cc index c49b9409038..adb82c64eda 100644 --- a/src/os/bluestore/NVMEDevice.cc +++ b/src/os/bluestore/NVMEDevice.cc @@ -872,8 +872,7 @@ void io_complete(void *t, const struct spdk_nvme_cpl *completion) NVMEDevice::NVMEDevice(CephContext* cct, aio_callback_t cb, void *cbpriv) : BlockDevice(cct, cb, cbpriv), - driver(nullptr), - aio_stop(false) + driver(nullptr) { } diff --git a/src/os/bluestore/NVMEDevice.h b/src/os/bluestore/NVMEDevice.h index 1a33dcf5ea5..365e6a4a6fd 100644 --- a/src/os/bluestore/NVMEDevice.h +++ b/src/os/bluestore/NVMEDevice.h @@ -43,11 +43,10 @@ class NVMEDevice : public BlockDevice { /** * points to pinned, physically contiguous memory region; * contains 4KB IDENTIFY structure for controller which is - * target for CONTROLLER IDENTIFY command during initialization + * target for CONTROLLER IDENTIFY command during initialization */ SharedDriverData *driver; string name; - bool aio_stop; static void init(); public: