Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3773801ybl; Mon, 27 Jan 2020 10:08:59 -0800 (PST) X-Google-Smtp-Source: APXvYqy/3RsJQ5/R10f7arH5IbkMIj6zCPxgui5nMujT+4ymKJsINlx8BgUrvmanEuWOS0IDcoOA X-Received: by 2002:a9d:2028:: with SMTP id n37mr13875399ota.127.1580148538914; Mon, 27 Jan 2020 10:08:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580148538; cv=none; d=google.com; s=arc-20160816; b=NF5rLkS94kpIZPAQaw+WLY+OEl6X3pm0QL3E2FTBCJXblBmjEJPQx0s+8ksB4PLLIg 1gBqIjdsjvKkpAYB6q0AdXNPoTH5HJLLCSHpUXBygvoKvMqnpiBk71J/D+rx9SQdJvy0 sV/Op5DKF+qOhJlzVhd8Y/4WjW690mjKAZPhDwJva5F5HRAiIKeqg3vytkxa79i82VJa kfKP4+JCoE8R01wPp945teGaTbruaX/9q6nD+ZaR+AtE76Ua+YU5jvIX30LDhEtVwQLO kdO1xT+gse6Dcf77FEoFlkWEk+S7+cn6Y6bpaiuOZEbrYyxpaaxkSLt9kbGgmBKyt31O UHhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=vyLjNX65TqvX4+HTsrUYbj8jYzvexX51y2g4R+mvQ7g=; b=aS/g5u1Dgy7N97B1eFbkz50HdE2OsoTQVW820zL0hghE126dblMimqZ4aWt3UQ9RES pEp8SFETRx4AX3MUwyt7Ro77OZvHsUcw2VOXB4/ImjIjs3c3KnblEv1MaeTEjJuWhehJ 1sf+8tbLLHFj1XRWXt9lijyfEMmrWB2S8LaRTuZaKTCUxTA2uKTJqJIRO3StXWofOW2D RIOBYMNVeTTuMhAZ7n89ynixuBz9IlAuiDL7ePCzuox6iH6wDPNbjwVM22MrbF37Czi0 LNrjV3SXdJx5/FJv1E9R0zeK4b9bN94K2JQ670GJJ8pT8D1xVxx/7HGF8oweNvAe7Mkh 6Few== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=w8Jx4wy0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si3940222oia.232.2020.01.27.10.08.45; Mon, 27 Jan 2020 10:08:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=w8Jx4wy0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726054AbgA0SHp (ORCPT + 99 others); Mon, 27 Jan 2020 13:07:45 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:40197 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725972AbgA0SHo (ORCPT ); Mon, 27 Jan 2020 13:07:44 -0500 Received: by mail-pj1-f65.google.com with SMTP id 12so2021416pjb.5 for ; Mon, 27 Jan 2020 10:07:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vyLjNX65TqvX4+HTsrUYbj8jYzvexX51y2g4R+mvQ7g=; b=w8Jx4wy0f2LkHXyMBqznF1wu63frSCsE+E82q59WmC5F0Fmj4XRoj68pI1xrStwbro ZWJayNGwIeg+mim18qXfSOZzie1w9UtdRhtyv2bf/3E2DFi4qcME7Md84yo5Be5Nmn3S ggP3CIoUI7qvu0aDFcAt7Dd1hkBZWwQXPULaCnQTNt6exKfDxPo0MfVQmp1xxqegOmLP TnKfOG1MhGow0yh5v1i6qOWmfJaGcnHrhVCHxuN/D9CK+N9SpDsv6SS6S3yJJDYgmOCR iRBptjhguyj1cQZzA1gBO9b1kWl8UUfnS5mt9Sq5dZyLB7FEKu2hA92ekgoohUQTfGxy kf8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vyLjNX65TqvX4+HTsrUYbj8jYzvexX51y2g4R+mvQ7g=; b=jolKbUiTx3CLlpYdPPx0DKE2Cke9fLkbi1OTieLLaSMJVOe2UokYldnh/tNtw5BB++ 1Z6hD2EJCwP2FZVIPpUd/SIRBI/21xlHpF0hPRN+/mh/vC1GOJ9cOS1DB+e+iV4lkAAW vG3xsXeNL/ehze2Fpmkf6c0cy0cc5gdnfd6YX3KAd47AWSAAo+ljDHHS3YUj4I4M1oOf Ko3RzW78jWCj8ZmvbbaBNsCuoFIfK3Km/qxaQ7NntzUsNRLTRxpciWErMnho1H1hx/3k PeY3kQNsNFjz1SaYY1d2Lakhp+Jtmb2FW5ZWbTwVsJ3y/3HyL8YAdekBpmJgjXKt5j7h WDqw== X-Gm-Message-State: APjAAAWx9iQwaxf5bmxUNFVln7yvKyN2cq1HydC/kFzwMimFOkhIDCzY Zg89vbEZilNjdQKsIjS9EZcI+nRGgiU= X-Received: by 2002:a17:902:b193:: with SMTP id s19mr10337731plr.205.1580148463685; Mon, 27 Jan 2020 10:07:43 -0800 (PST) Received: from ?IPv6:2620:10d:c081:1133::11c2? ([2620:10d:c090:180::dec1]) by smtp.gmail.com with ESMTPSA id 199sm15837913pfv.81.2020.01.27.10.07.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jan 2020 10:07:42 -0800 (PST) Subject: Re: [PATCH liburing 0/1] test: add epoll test case To: Stefano Garzarella Cc: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200127161701.153625-1-sgarzare@redhat.com> <20200127180028.f7s5xhhizii3dsnr@steredhat> From: Jens Axboe Message-ID: <52df8d77-1cb4-b8d5-d03d-5a8cabaeddb6@kernel.dk> Date: Mon, 27 Jan 2020 11:07:41 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200127180028.f7s5xhhizii3dsnr@steredhat> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/27/20 11:00 AM, Stefano Garzarella wrote: > On Mon, Jan 27, 2020 at 09:26:41AM -0700, Jens Axboe wrote: >> On 1/27/20 9:17 AM, Stefano Garzarella wrote: >>> Hi Jens, >>> I wrote the test case for epoll. >>> >>> Since it fails also without sqpoll (Linux 5.4.13-201.fc31.x86_64), >>> can you take a look to understand if the test is wrong? >>> >>> Tomorrow I'll travel, but on Wednesday I'll try this test with the patch >>> that I sent and also with the upstream kernel. >> >> I'll take a look, but your patches are coming through garbled and don't >> apply. > > Weird, I'm using git-publish as usual. I tried to download the patch > received from the ML, and I tried to reapply and it seams to work here. > > Which kind of issue do you have? (just to fix my setup) First I grabbed it from email, and I get the usual =3D (instead of =) and =20 instead of a space. Longer lines also broken up, with an = at the end. Then I grabbed it from the lore io-uring archive, but it was the exact same thing. > Anyway I pushed my tree here: > https://github.com/stefano-garzarella/liburing.git epoll As per other email, I think you're having some coordination issues with the reaping and submitting side being separated. If the reaper isn't keeping up, you'll get the -EBUSY problem I saw. I'm assuming that's the failure case you are also seeing, you didn't actually mention how it fails for you? -- Jens Axboe