]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd/io: flush IO before shutting down image IO dispatchers 38492/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 8 Dec 2020 14:58:07 +0000 (09:58 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 8 Dec 2020 15:01:48 +0000 (10:01 -0500)
commitc5c6016c29b2dc43f6221decc2115204633454b3
tree6590b8f58b3515166e3278c418bfa52b8a714687
parent31426c162b9df804de3fedba74989b94281b941c
librbd/io: flush IO before shutting down image IO dispatchers

Otherwise, if the dispatchers are shut down, there is a potential
race where the flush can be assigned to a stuck IO and never
completed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/ImageDispatcher.cc