Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVMDevice: fix issued caused by #17002 #17112

Merged
merged 1 commit into from Aug 21, 2017
Merged

Conversation

optimistyzy
Copy link
Contributor

Patch #17002 breaks running osd when using spdk, and
this patch can fix this.

@optimistyzy
Copy link
Contributor Author

@liupan1111


public:
aio_callback_t aio_callback;
void *aio_callback_priv;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think keep aio_callback and aio_callback_priv as protected, and set Task as friend is a better choice.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we set task as friend, the patch will become complicated since task is only defined and used in nvmedevice.cc

@liupan1111
Copy link
Contributor

Signed-off-by should be added to make jenkins happy

Patch ceph#17002 breaks running osd when using spdk, and
this patch can fix this.

Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
@optimistyzy
Copy link
Contributor Author

@liupan1111 signed off is added

@liupan1111
Copy link
Contributor

lgtm

@liupan1111
Copy link
Contributor

Jenkins, retest this please

@liupan1111 liupan1111 merged commit 6b9a641 into ceph:master Aug 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants