]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: complete cache reads on cache's dedicate thread 8011/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 9 Mar 2016 23:00:04 +0000 (18:00 -0500)
committerJason Dillaman <dillaman@redhat.com>
Wed, 9 Mar 2016 23:12:11 +0000 (18:12 -0500)
commit281d63df792c4cdf25cca5428969c65d2ae379e8
tree179efacac7baaa7e74229fb7b85c7afeb9124290
parent621e3aef85e4b720232ca9ee89a4620d58362047
librbd: complete cache reads on cache's dedicate thread

If a snapshot is created out-of-band, the next IO will result in the
cache being flushed.  If pending writeback data performs a copy-on-write,
the read from the parent will be blocked.

Fixes: #15032
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f9e5ae80e3b0799b5a7e1d3f93b2d85a4baff20f)
src/librbd/AioCompletion.cc
src/librbd/LibrbdWriteback.cc
src/librbd/LibrbdWriteback.h