bluestore/NVMEDevice: remove useless aio_stop in class NVMEDevice

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
This commit is contained in:
Pan Liu 2017-08-27 23:06:55 +08:00
parent 455e7435f7
commit 8b80a9ba7d
2 changed files with 2 additions and 4 deletions

View 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)
{
}

View 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: