]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: support for AIO notifications
authorJason Dillaman <dillaman@redhat.com>
Tue, 16 Feb 2016 01:49:22 +0000 (20:49 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 18 Feb 2016 20:45:50 +0000 (15:45 -0500)
commitdd5c9e55031b9791a1c53ce00a9ac49c55d17cae
treee8a4e92a23b599f6ac9396cbf0e35d3a2cebf5c5
parent3687a0d9fd3d37118c1a018df32dd3bb41c7478c
librbd: support for AIO notifications

The header update and lock notifications might be invoked
from the librados AIO thread.  Update the close state
machine to flush any potential AIO notifications.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ImageWatcher.cc
src/librbd/ImageWatcher.h
src/librbd/Makefile.am
src/librbd/Utils.cc
src/librbd/Utils.h
src/librbd/image/CloseRequest.cc
src/librbd/image/CloseRequest.h
src/librbd/image_watcher/Notifier.cc [new file with mode: 0644]
src/librbd/image_watcher/Notifier.h [new file with mode: 0644]