]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Fix clear_pipe after reaping progress 4395/head
authorHaomai Wang <haomaiwang@gmail.com>
Fri, 17 Apr 2015 14:07:00 +0000 (22:07 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Fri, 24 Apr 2015 06:52:36 +0000 (14:52 +0800)
commit0ea0e011a6a6c6d6b40f5d97328bbad0e4568dd7
treec3f001cad3f7172b8c70390c3e2733f486f7ddea
parente948a3c6595cbd367f81716eaa910b0c8de5f329
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>
src/msg/simple/Pipe.cc