Re: [ceph-users] 答复: 答复: 答复: Pipe "deadlock" in Hammer, 0.94.5

2017-03-16 Thread Gregory Farnum
收件人: 许雪寒 > 抄送: jiajia zhong; ceph-users@lists.ceph.com > 主题: Re: 答复: [ceph-users] 答复: 答复: Pipe "deadlock" in Hammer, 0.94.5 > > On Sat, Jan 14, 2017 at 7:54 PM, 许雪寒 <xuxue...@360.cn> wrote: > > Thanks for your help:-) > > > > I checked the source code agai

Re: [ceph-users] 答复: 答复: 答复: Pipe "deadlock" in Hammer, 0.94.5

2017-01-16 Thread Gregory Farnum
left -= got; > } // else we got a signal or something; just loop. > } > > As shown in the above code, in the reading loop, it first lock > connection_state->lock and then do tcp_read_

[ceph-users] 答复: 答复: 答复: Pipe "deadlock" in Hammer, 0.94.5

2017-01-14 Thread 许雪寒
shown in the above code, in the reading loop, it first lock connection_state->lock and then do tcp_read_nonblocking. connection_state is of type PipeConnectionRef, connection_state->lock is Connection::lock. On the other hand, I'll check that whether there are a lot of message to send as you s