Skip to content

Commit

Permalink
Merge pull request #17112 from optimistyzy/821_spdk
Browse files Browse the repository at this point in the history
NVMDevice: fix issued caused by #17002
  • Loading branch information
liupan1111 committed Aug 21, 2017
2 parents 072d8ca + 2a3256a commit 6b9a641
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/os/bluestore/BlockDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ class BlockDevice {
uint64_t size;
uint64_t block_size;
bool rotational = true;
aio_callback_t aio_callback;
void *aio_callback_priv;

public:
aio_callback_t aio_callback;
void *aio_callback_priv;
BlockDevice(CephContext* cct, aio_callback_t cb, void *cbpriv)
: cct(cct),
size(0),
Expand Down
3 changes: 0 additions & 3 deletions src/os/bluestore/NVMEDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ class NVMEDevice : public BlockDevice {
SharedDriverData *get_driver() { return driver; }

public:
aio_callback_t aio_callback;
void *aio_callback_priv;

NVMEDevice(CephContext* cct, aio_callback_t cb, void *cbpriv);

bool supported_bdev_label() override { return false; }
Expand Down

0 comments on commit 6b9a641

Please sign in to comment.