]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
bluestore/NVMEDevice: remove useless aio_stop in class NVMEDevice
authorPan Liu <wanjun.lp@alibaba-inc.com>
Sun, 27 Aug 2017 15:06:55 +0000 (23:06 +0800)
committerPan Liu <wanjun.lp@alibaba-inc.com>
Sun, 27 Aug 2017 15:06:55 +0000 (23:06 +0800)
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
src/os/bluestore/NVMEDevice.cc
src/os/bluestore/NVMEDevice.h

index c49b940903852142ca7fc53549d6973511010af2..adb82c64eda65304e3c0a6ec08949517ca9bcdbe 100644 (file)
@@ -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)
 {
 }
 
index 1a33dcf5ea5931fdb03f3166876970f9ec05476d..365e6a4a6fdae90b353a184c30c06c4d4a8a6c5b 100644 (file)
@@ -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: