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
librbd: support eventfd for AIO completion notifications #5465
Commits on Nov 26, 2015
-
EventSocket: Add EventSocket structure used for event notification
EventSocket will wrap different user event notification method like linux eventfd, solaris port. Caller can user this to replace signal Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Commits on Dec 1, 2015
-
librbd: Add event notify interfaces
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
-
tests: Add tests for user io event notify
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
-
librbd: Add interface to let user can get private data from comp
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
-
test: Add tests for getting arg of completion
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
-
EventSocket: Add new event type pipe support
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
-
librbd: check event_notify to avoid extra logic
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
-
librbd: Fix incorrect api declaration
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
-
librbd: normalize notify return code
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
-
librbd: Add ictx check to avoid AIO_TYPE_NONE completion
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
-
Librbd: fix return code of EventSocket init and notify
Signed-off-by: Haomai Wang <haomai@xsky.com>
-
Librbd: Make AioCompletion complete doesn't unlock if callback
Signed-off-by: Haomai Wang <haomai@xsky.com>
-
librbd: Make rbd header file uses independent enum definition
Signed-off-by: Haomai Wang <haomai@xsky.com>
-
Makefile: Add noinst headr files
Signed-off-by: Haomai Wang <haomai@xsky.com>
-
librbd: Remove unneeded set_event_notify
Since xlist clear method invoked below is enough to disassociate the xlist item from the xlist, so the remove_myself() call in the destructor is safe to invoke since it's already been removed from the list. Signed-off-by: Haomai Wang <haomai@xsky.com>
-
librbd: Add set_event_notify to AioImageRequestWQ
Signed-off-by: Haomai Wang <haomai@xsky.com>
-
librbd: fix lttng tracing argument mismatch
Signed-off-by: Haomai Wang <haomai@xsky.com>
-
librbd: Fix rebase with new io flow
Signed-off-by: Haomai Wang <haomai@xsky.com>