]> git.apps.os.sepia.ceph.com Git - ceph.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)
committerJason Dillaman <dillaman@redhat.com>
Wed, 15 May 2019 18:13:18 +0000 (14:13 -0400)
commit7fec876843f76ebcc71c7ee0ab84c7792baf3a8c
treec498bc93e448cb92e8ee6d24f496b259ef10a911
parentfb6bc605356ab3f03ca44e5d6157fff0f0b9062c
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>
(cherry picked from commit a30276eadbb29d36baf5532327786da720856db8)
src/librbd/io/ImageDispatchSpec.cc
src/librbd/io/ImageDispatchSpec.h
src/librbd/io/ImageRequestWQ.cc
src/test/librbd/io/test_mock_ImageRequestWQ.cc