Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librbd: avoid blocking AIO API methods
Enqueue all AIO API methods within the new librbd thread pool to reduce the possibility of any blocking operations. To maintain backwards compatibility with the legacy return codes of the API's AIO methods, it's still possible to block attempting to acquire the snap_lock. Fixes: #11056 Signed-off-by: Jason Dillaman <dillaman@redhat.com> (cherry picked from commit 3a7b5e3)
- Loading branch information
Jason Dillaman
committed
Jun 10, 2015
1 parent
e61974a
commit cf6e1f5
Showing
1 changed file
with
132 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters