mirror of
https://github.com/ceph/ceph
synced 2024-12-14 23:46:28 +00:00
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:
parent
455e7435f7
commit
8b80a9ba7d
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user