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

librbd: support eventfd for AIO completion notifications #5465

Merged
merged 18 commits into from Dec 1, 2015

Commits on Nov 26, 2015

  1. 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>
    yuyuyu101 committed Nov 26, 2015
    Copy the full SHA
    720ac2b View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2015

  1. librbd: Add event notify interfaces

    Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    c3a1edb View commit details
    Browse the repository at this point in the history
  2. tests: Add tests for user io event notify

    Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    e7a1506 View commit details
    Browse the repository at this point in the history
  3. librbd: Add interface to let user can get private data from comp

    Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    1ab727d View commit details
    Browse the repository at this point in the history
  4. test: Add tests for getting arg of completion

    Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    0dc9321 View commit details
    Browse the repository at this point in the history
  5. EventSocket: Add new event type pipe support

    Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    c7703db View commit details
    Browse the repository at this point in the history
  6. librbd: check event_notify to avoid extra logic

    Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    ca32fc5 View commit details
    Browse the repository at this point in the history
  7. librbd: Fix incorrect api declaration

    Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    6d11474 View commit details
    Browse the repository at this point in the history
  8. librbd: normalize notify return code

    Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    3932714 View commit details
    Browse the repository at this point in the history
  9. librbd: Add ictx check to avoid AIO_TYPE_NONE completion

    Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    d19deac View commit details
    Browse the repository at this point in the history
  10. Librbd: fix return code of EventSocket init and notify

    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    c470e0b View commit details
    Browse the repository at this point in the history
  11. Librbd: Make AioCompletion complete doesn't unlock if callback

    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    c42044a View commit details
    Browse the repository at this point in the history
  12. librbd: Make rbd header file uses independent enum definition

    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    97507d5 View commit details
    Browse the repository at this point in the history
  13. Makefile: Add noinst headr files

    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    d625b89 View commit details
    Browse the repository at this point in the history
  14. 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>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    bddab3e View commit details
    Browse the repository at this point in the history
  15. librbd: Add set_event_notify to AioImageRequestWQ

    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    1da3093 View commit details
    Browse the repository at this point in the history
  16. librbd: fix lttng tracing argument mismatch

    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    5cc9ff9 View commit details
    Browse the repository at this point in the history
  17. librbd: Fix rebase with new io flow

    Signed-off-by: Haomai Wang <haomai@xsky.com>
    yuyuyu101 committed Dec 1, 2015
    Copy the full SHA
    c57ceff View commit details
    Browse the repository at this point in the history