From: Pan Liu Date: Sun, 27 Aug 2017 15:06:55 +0000 (+0800) Subject: bluestore/NVMEDevice: remove useless aio_stop in class NVMEDevice X-Git-Tag: v13.0.1~1168^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8b80a9ba7d6ec98a6ce836eded20b58ff0044aa1;p=ceph.git bluestore/NVMEDevice: remove useless aio_stop in class NVMEDevice Signed-off-by: Pan Liu Signed-off-by: Ziye Yang --- diff --git a/src/os/bluestore/NVMEDevice.cc b/src/os/bluestore/NVMEDevice.cc index c49b94090385..adb82c64eda6 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 1a33dcf5ea59..365e6a4a6fda 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: