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

2017-01-12 Thread jiajia zhong
Yes, but that depends. that might have changed on master barnch. 2017-01-13 10:47 GMT+08:00 许雪寒 : > Thanks for your reply☺ > > Indeed, Pipe::do_recv would act just as blocked when errno is EAGAIN, > however, in Pipe::read_message method, it first checks if there is pending > msg on the socket by

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

2017-01-12 Thread 许雪寒
Thanks for your reply☺ Indeed, Pipe::do_recv would act just as blocked when errno is EAGAIN, however, in Pipe::read_message method, it first checks if there is pending msg on the socket by “Pipe::tcp_read_wait”. So, I think, when Pipe::do_recv is called, it shouldn’t get an EAGAIN, which means