Re: support of non-block connect in async messenger?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 27, 2015 at 3:47 PM, Jianhui Yuan <zuiwanyuan@xxxxxxxxx> wrote:
> Hi Haomai,
>
> In my environment, I suffer from long timeout when connect a breakdown node.
> So I write some code to support non-block connect in async . And It seems to
> be working well. So, I want to know if non-block connect in async may have
> some problem that can't be sloved now, or we may just support this feature?
>

Yep, async messenger should avoid all potential blocking point. In
msg/async/net_handler.cc, we already have
"NetHandler::nonblock_connect" impl. Long ago because nonblock connect
adds the difficulties to debug problem, I removed the caller codes.
Now it looks a good time to add nonconnect support again.

> Jianhui Yuan



-- 
Best Regards,

Wheat
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux