On Thu, Jan 12, 2017 at 7:58 PM, 许雪寒 <xuxue...@360.cn> wrote:
> Thank you for your continuous helpJ. > > > > We are using hammer 0.94.5 version, and what I read is the version of the > source code. > > However, on the other hand, if Pipe::do_recv do act as blocked, is it > reasonable for the Pipe::reader_thread to block threads calling > SimpleMessenger::submit_message by holding Connection::lock? > > > > I think maybe a different mutex should be used in Pipe::read_message > rather than Connection::lock. > > > I don't think it does use that lock. Pipe::read_message() is generally called while the pipe_lock is held, but not Connection::lock. (They are separate.) I haven't dug into the relevant OSD code in a while, but I think it's a lot more likely your OSD is just overloaded and is taking a while to send a lot of different messages, and that the loop it's in doesn't update the HeartbeatMap or something. Did you check that? -Greg
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com