From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4B8AC433E0 for ; Tue, 2 Feb 2021 16:47:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 94A0B64F05 for ; Tue, 2 Feb 2021 16:47:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236745AbhBBQrB (ORCPT ); Tue, 2 Feb 2021 11:47:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236251AbhBBQot (ORCPT ); Tue, 2 Feb 2021 11:44:49 -0500 Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D50CC061573 for ; Tue, 2 Feb 2021 08:44:09 -0800 (PST) Received: by mail-il1-x12e.google.com with SMTP id y17so19651190ili.12 for ; Tue, 02 Feb 2021 08:44:09 -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=bSlMG2yMQr1ExsYTIiZZQSwEB7/ZgxktvZQvBQcnwxQ=; b=EGA5RGZOKvPl57iEZptFlcYysvyRptdhzG9jNUW6K8SNg71QZdJd/RyoJ+2AF1+4dl zslgmenqc1TMD0iGKrJE3VeyVfzSmGNHjkirKEjfxIUo2yBn68GfPaNLGA2Y7IAAmaCU w4KJRzZ9FyRqEC82IxalHfBGl9cavNw7pKn6pJI4QKoAkFN+At6NpHiTTRCJqvdoKYRX v+cMMP4X7+866NsUF7EXUX+wB2PvcYODGMX4df31XbIpsWacc1Wbk91e4xU8RlcfxDUE cLM89G8/JWneVRnAXydJXLTuajQ7UAYCs/zi1ZpMul8Yi91wby+Z75zbq4cyE45AbiMI nK/A== 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=bSlMG2yMQr1ExsYTIiZZQSwEB7/ZgxktvZQvBQcnwxQ=; b=r4Uh2fAUCmmO4MLzQcCA80PzUfxEbps7Tsms5OR3QtZJdR/z+PHbju312QhhtdEMsF cdPAM1UmrazHZ99zZFYAYpsVboNtjEzAiVMJgsqnhlUFmL6/HHDiqPZbEYpfPiqcQoad QqHMaGNX3citLDaXVyRytOxdoSSuY53MUBh4bZQ4vEZJwQi7ewT4fQVKkqn3nQeK+w0A a8leLwYPxVUqzskmw3qQA7O/EmWCkjDuWJx4z91jcxKaZ4bXR1lOhEf9fbBdOdgbBwwN EukYua/V4gLAcZhcthwuOf5bvwk/Lt55YhMfdWo2/cvq4at4KOyxxpWi+0geUfDj10dE dyGw== X-Gm-Message-State: AOAM531DoT5siO8RjDI7VzCRs3YcPDHQGh71wbpyX59sNPNQw5veHUNk TZO/cmj0/TD9/D6/aziqkwHttNTrhKthOFQn X-Google-Smtp-Source: ABdhPJwWXNvcsgBNs9ltgOC80xqz/6BvTIRouXN/wO380Y/TR79bgrJroGl2SNwO17oDngLCDmUkfQ== X-Received: by 2002:a05:6e02:1b0c:: with SMTP id i12mr19033633ilv.200.1612284248689; Tue, 02 Feb 2021 08:44:08 -0800 (PST) Received: from [192.168.1.30] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id k20sm990587ilh.84.2021.02.02.08.44.07 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Feb 2021 08:44:08 -0800 (PST) Subject: Re: bug with fastpoll accept and sqpoll + IOSQE_FIXED_FILE To: Victor Stewart , Pavel Begunkov Cc: io-uring References: <49743b61-3777-f152-e1d5-128a53803bcd@gmail.com> From: Jens Axboe Message-ID: <4b44f4e1-c039-a6b6-711f-22952ce1abfb@kernel.dk> Date: Tue, 2 Feb 2021 09:44:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 2/2/21 9:30 AM, Victor Stewart wrote: > i just reran it with my memset bug fixed, and now get these results... > still fails with SQPOLL. (i ommited the SQPOLL without fixed flag > result since i'm working with a 5.10 kernel). I tried with and without > submitting, no difference. > > with SQPOLL with FIXED FLAG -> FAILURE: failed with error = -22 > without SQPOLL with FIXED FLAG -> SUCCESS: timeout as expected > without SQPOLL without FIXED FLAG -> SUCCESS: timeout as expected Can you send the updated test app? -- Jens Axboe