]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: complete cache reads on cache's dedicate thread 8010/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:00:04 +0000 (18:00 -0500)
commitf9e5ae80e3b0799b5a7e1d3f93b2d85a4baff20f
tree1b0b21143ce7f670ba57289c9b6290c720773df5
parent7ffbe4099c9367e7405e2196803a0d8b12253a06
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>
src/librbd/AioCompletion.cc
src/librbd/LibrbdWriteback.cc
src/librbd/LibrbdWriteback.h