Re: [PATCH 3/6] io/channel-rdma: support working in coroutine

2024-06-07 Thread Haris Iqbal
edhat.com; yu.zh...@ionos.com; > > mgal...@akamai.com; elmar.ger...@ionos.com; zhengchuan > > ; berra...@redhat.com; arm...@redhat.com; > > lizhij...@fujitsu.com; pbonz...@redhat.com; m...@redhat.com; Xiexiangyou > > ; linux-r...@vger.kernel.org; lixiao (H) > > ; jinpu.w...@io

RE: [PATCH 3/6] io/channel-rdma: support working in coroutine

2024-06-07 Thread Gonglei (Arei)
zhengchuan > ; arm...@redhat.com; lizhij...@fujitsu.com; > pbonz...@redhat.com; m...@redhat.com; Xiexiangyou > ; linux-r...@vger.kernel.org; lixiao (H) > ; jinpu.w...@ionos.com; Wangjialin > > Subject: Re: [PATCH 3/6] io/channel-rdma: support working in coroutine > > On Tue, Jun 0

Re: [PATCH 3/6] io/channel-rdma: support working in coroutine

2024-06-07 Thread Daniel P . Berrangé
On Tue, Jun 04, 2024 at 08:14:09PM +0800, Gonglei wrote: > From: Jialin Wang > > It is not feasible to obtain RDMA completion queue notifications > through poll/ppoll on the rsocket fd. Therefore, we create a thread > named rpoller for each rsocket fd and two eventfds: pollin_eventfd > and pollou

RE: [PATCH 3/6] io/channel-rdma: support working in coroutine

2024-06-07 Thread Gonglei (Arei)
ra...@redhat.com; arm...@redhat.com; > lizhij...@fujitsu.com; pbonz...@redhat.com; m...@redhat.com; Xiexiangyou > ; linux-r...@vger.kernel.org; lixiao (H) > ; jinpu.w...@ionos.com; Wangjialin > > Subject: Re: [PATCH 3/6] io/channel-rdma: support working in coroutine > > On

Re: [PATCH 3/6] io/channel-rdma: support working in coroutine

2024-06-06 Thread Haris Iqbal
On Tue, Jun 4, 2024 at 2:14 PM Gonglei wrote: > > From: Jialin Wang > > It is not feasible to obtain RDMA completion queue notifications > through poll/ppoll on the rsocket fd. Therefore, we create a thread > named rpoller for each rsocket fd and two eventfds: pollin_eventfd > and pollout_eventfd

[PATCH 3/6] io/channel-rdma: support working in coroutine

2024-06-04 Thread Gonglei via
From: Jialin Wang It is not feasible to obtain RDMA completion queue notifications through poll/ppoll on the rsocket fd. Therefore, we create a thread named rpoller for each rsocket fd and two eventfds: pollin_eventfd and pollout_eventfd. When using io_create_watch or io_set_aio_fd_handler waits