Date: Thu, 19 May 2016 14:33:40 +0200 From: Hans Petter Selasky <hps@selasky.org> To: KrishnamRaju ErapaRaju <Krishna2@chelsio.com>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org> Subject: Re: write() system call(via rdma_get_cm_event) is not honoring a signal with flag SA_RESTART. Message-ID: <6085b7db-aab4-0496-1789-0992bc1f1c5d@selasky.org> In-Reply-To: <4EAB2619577FCA4EBCE11F17B7373447C431372B@nice.asicdesigners.com> References: <4EAB2619577FCA4EBCE11F17B7373447C4313548@nice.asicdesigners.com> <3500e324-7d7c-ed94-5913-911fd9877bef@selasky.org> <4EAB2619577FCA4EBCE11F17B7373447C431372B@nice.asicdesigners.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/19/16 14:22, KrishnamRaju ErapaRaju wrote: > Hans, > > I think it's not a regression. > > To verify it I have fetched the latest sources(both FreeBSD & OFED 3.2) and started building... > Between, may I know when will OFED 3.2 patches be pushed to upstream? > > Also, before started building, I'd quickly replaced -ERESTARTSYS with -512 in ucma_get_event, I still don't see the write() system call getting restarted. > > Here are the return codes: > ucma_get_event, returns -512 > rdma_get_cm_event, returns -1, errorno: 512 > > So can FreeBSD understand the interrupted system call return value(-512) like Linux? Hi, I need to check this a bit closer. Possibly you'll need to loop in the application or library when you see errno 512. --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6085b7db-aab4-0496-1789-0992bc1f1c5d>