]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
journal: fix race between player shut down and cache rebalance 29796/head
authorMykola Golub <mgolub@suse.com>
Wed, 21 Aug 2019 14:04:47 +0000 (15:04 +0100)
committerMykola Golub <mgolub@suse.com>
Wed, 21 Aug 2019 14:18:54 +0000 (15:18 +0100)
commitadf1715d9523e98a29923a620df8b854b50ae54e
tree97ae44c6e3b1f9ebf08c8ad58fe60efbda0bfa40
parent88662a4e319446eb75249d646dc586e4414201e7
journal: fix race between player shut down and cache rebalance

25a23364 was supposed to fix this race, but it was not enough:
there was still a window between `prefetch` is queued for
execution in handle_cache_rebalanced and is actually executed,
during which shut_down can be called and completed.

Signed-off-by: Mykola Golub <mgolub@suse.com>
src/journal/JournalPlayer.cc