]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: make flush be queued by QOS throttler
authorMykola Golub <mgolub@suse.com>
Thu, 14 Mar 2019 18:46:23 +0000 (18:46 +0000)
committerMykola Golub <mgolub@suse.com>
Thu, 14 Mar 2019 19:25:08 +0000 (19:25 +0000)
commita30276eadbb29d36baf5532327786da720856db8
tree5363bab0106883fe4ebc3e9bc0b9670be2ea5907
parent4f7780a92c482562974923360e6b2d11bd8ffa58
librbd: make flush be queued by QOS throttler

So when it is eventually processed we sure there is no pending
requests in the throttler queue it needs to wait to complete.

Fixes: https://tracker.ceph.com/issues/38706
Signed-off-by: Mykola Golub <mgolub@suse.com>
src/librbd/io/ImageDispatchSpec.cc
src/librbd/io/ImageDispatchSpec.h
src/librbd/io/ImageRequestWQ.cc
src/test/librbd/io/test_mock_ImageRequestWQ.cc