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
librados: implement async watch/unwatch #7649
Conversation
596bc23
to
986a2c9
Compare
done |
retest this please |
@yuyuyu101 Can you also add an async version of Rados::watch_flush? |
@dillaman sure |
e149680
to
5ec9015
Compare
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
5ec9015
to
aa253f7
Compare
@dillaman done |
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
Signed-off-by: Haomai Wang <haomai@xsky.com>
aa253f7
to
a7c5f0f
Compare
|
||
rados_completion_t comp; | ||
ASSERT_EQ(0, rados_aio_create_completion(NULL, NULL, NULL, &comp)); | ||
rados_async_watch_flush(cluster, comp); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't build -- should be rados_aio_watch_flush
Signed-off-by: Haomai Wang <haomai@xsky.com>
a7c5f0f
to
ad44b5e
Compare
done |
I had this branch merged into wip-jd-testing for a teuthology run: http://pulpito.ceph.com/jdillaman-2016-02-22_09:18:56-rbd-wip-jd-testing---basic-multi/ It appears all clients are locking up on the sync watch_flush call:
I assume it is because the finisher was already stopped on shut down prior to invoking watch_flush. |
@dillaman I agree with your point. But I don't find anywhere we call watch_flush after objecter shutdown |
oh, sorry. I got it |
done |
Signed-off-by: Haomai Wang <haomai@xsky.com>
81676b0
to
7109de7
Compare
done |
librados: implement async watch/unwatch Reviewed-by: Jason Dillaman <dillaman@redhat.com>
No description provided.