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.5 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 AC515C48BE5 for ; Thu, 17 Jun 2021 16:48:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 82FEA6102A for ; Thu, 17 Jun 2021 16:48:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231184AbhFQQuN (ORCPT ); Thu, 17 Jun 2021 12:50:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229805AbhFQQuM (ORCPT ); Thu, 17 Jun 2021 12:50:12 -0400 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9C85C061574 for ; Thu, 17 Jun 2021 09:48:04 -0700 (PDT) Received: by mail-io1-xd30.google.com with SMTP id q3so3852721iop.11 for ; Thu, 17 Jun 2021 09:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=RzHHToxvpIftGJ7LtAOrwsw/Op9EevSDWa3J+vNpWR4=; b=Tjct39M+uFDMfteFQ/FF5m8PR/autcRz3yEtRA0de9kCL7NisyEFPpT8n19tyeAkN0 UV7SQsDzkFmMRYhuXo3tlmDN721IU5L5WrwcG6NoYpMIuCXB5SENhcA/aglT0cF3UYXM /BpRDnoAQ42XrvKVelIUUI0917pq3EjL+uhAYPT4xoWX0hzD2ttRgiwN48KaGX99ImbV K05QfzcquwRXkEaG2LotxL/ds94DlhXHmo69mBKI61PlPtqaDuk9LnptOojdptsRpvL4 gdC9OP8sSeTw5rsWWMdUbvnQHSN0IZSRxTKlzbAZyVOKRCcIi71F+r/KRwIhlTnpUa1E 1TCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=RzHHToxvpIftGJ7LtAOrwsw/Op9EevSDWa3J+vNpWR4=; b=k2pu1mv1THaWA36udP3/XBpZ3r3Vdt6brxXs+eEN23xUzD1MGXjvXzB6YCoP7kp/89 81REc2iPxe6mgCxPKR6wSStqjqpJdM/eQ0rzoz95jRskK/IvcdcPL22ticWTgy+qXTA6 i/ajCebnCY1jgNnNcYooRPX15jdf2VraccNETQjEm6tHSu94NVArBAZs3ed9TzveD9Xe tUuDQc3EBnzaJGDSZTf0ZU+Lq1QamXLEBDd6EKpUD9EfCD9Vl6LuiXtFfaLS2oGNOWJY kBNThKu1b+ppd9OHHjsw91D/Tuwwf8r5AAp34DFqS0TQPbnom2TRnlSO1t4vNfH0ImlF yy7g== X-Gm-Message-State: AOAM530xKz/P2yDZZqCACN4//Zn8V8CE5M5udMOgepGDr+adbWUNdIgh rXPfxKrQVOFmJWov9Yg8t52zxw== X-Google-Smtp-Source: ABdhPJzn6Ja9brmgvJUZLLiupQsmiX468kvMta/r4qZXUZOBFopK5Uvhm5taOM/lkWrqjQ0zDd3FhQ== X-Received: by 2002:a05:6638:267:: with SMTP id x7mr5694811jaq.51.1623948484119; Thu, 17 Jun 2021 09:48:04 -0700 (PDT) Received: from [192.168.1.30] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id m7sm2913791ild.49.2021.06.17.09.48.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Jun 2021 09:48:03 -0700 (PDT) Subject: Re: [Bug] fio hang when running multiple job io_uring/hipri over nvme To: Ming Lei , linux-kernel@vger.kernel.org, io-uring@vger.kernel.org References: From: Jens Axboe Message-ID: <6691cf72-3a26-a1bb-228d-ddec8391620f@kernel.dk> Date: Thu, 17 Jun 2021 10:48:03 -0600 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: linux-kernel@vger.kernel.org On 6/17/21 5:17 AM, Ming Lei wrote: > Hello, > > fio hangs when running the test[1], and doesn't observe this issue > when running a > such single job test. > > v5.12 is good, both v5.13-rc3 and the latest v5.13-rc6 are bad. > > > [1] fio test script and log > + fio --bs=4k --ioengine=io_uring --fixedbufs --registerfiles --hipri > --iodepth=64 --iodepth_batch_submit=16 > --iodepth_batch_complete_min=16 --filename=/dev/nvme0n1 --direct=1 > --runtime=20 --numjobs=4 --rw=randread > --name=test --group_reporting > > test: (g=0): rw=randread, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) > 4096B-4096B, ioengine=io_uring, iodepth=64 > ... > fio-3.25 > Starting 4 processes > fio: filehash.c:64: __lookup_file_hash: Assertion `f->fd != -1' failed. > fio: pid=1122, got signal=6 > ^Cbs: 3 (f=0): [f(1),r(1),K(1),r(1)][63.6%][eta 00m:20s] Funky, would it be possible to bisect this? I'll see if I can reproduce. -- Jens Axboe