]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Fix clear_pipe after reaping progress 4506/head
authorHaomai Wang <haomaiwang@gmail.com>
Fri, 17 Apr 2015 14:07:00 +0000 (22:07 +0800)
committerLoic Dachary <ldachary@redhat.com>
Wed, 29 Apr 2015 19:14:25 +0000 (21:14 +0200)
commit3001fad4b6d7e692f6070ef166ed4a3e4849760f
treec200432a0b7c57f8394314869084d68d9ade74d6
parent74c2dc1f3924fa05e2c40f4cceb2ab060493bdfb
Fix clear_pipe after reaping progress

In pipe.cc:1353 we stop this connection and we will let reader and write threads stop. If now reader and writer quit ASAP and we call queue_reap to trigger the reap progress. Now we haven't call "connection_state->clear_pipe(this)" in pipe.cc:1379, so we may assert failure  here.

Fixes: #11381
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
(cherry picked from commit 0ea0e011a6a6c6d6b40f5d97328bbad0e4568dd7)
src/msg/simple/Pipe.cc