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.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 7DD18C2B9F4 for ; Thu, 17 Jun 2021 11:17:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4AD536113E for ; Thu, 17 Jun 2021 11:17:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232486AbhFQLTp (ORCPT ); Thu, 17 Jun 2021 07:19:45 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:49797 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbhFQLTn (ORCPT ); Thu, 17 Jun 2021 07:19:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623928655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=ut8mBDS/J21Tbda7DvgLRQmHjd21yKq2MA4wJcOqS9o=; b=Z8sawRvR6sourkTADP3v3/t8emCFzXabCYGjF4TjCO8wAn0bR9XJZ9/52896PmjZ0pTTF3 5A6g9Iq69Efj9EVeNvjnorqX2/7eFj6UgMUmv2Q+3WDdSsQ83jDuKNS/HXYaT15aYT0kmN RHcSWv4SNv0uDdfFcSeDpzQqofw0jD4= Received: from mail-yb1-f200.google.com (mail-yb1-f200.google.com [209.85.219.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-494-6KoV-szjPIi9rJJ3-BX-DA-1; Thu, 17 Jun 2021 07:17:34 -0400 X-MC-Unique: 6KoV-szjPIi9rJJ3-BX-DA-1 Received: by mail-yb1-f200.google.com with SMTP id l132-20020a25258a0000b029054fc079d46eso5366831ybl.20 for ; Thu, 17 Jun 2021 04:17:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ut8mBDS/J21Tbda7DvgLRQmHjd21yKq2MA4wJcOqS9o=; b=uOYnr8ONVvZNN5dQQY1v4AS+0QsIVQa58M2HTJU7CusYASEtHKVO5sumF7cvg4tWSP 6Gc0OOhuH5tHOjt+xC7IRBD+xaPY93JfhWyFlF2pvP8M1UI4bld7GmRTQ35d+VM+nl/+ xqdfqegVMw2yflGQFYV76o5SGcNsg1rXBh8wauYY1kf2jC4HpFS4VRygGWpaWP0pLt/x KI/1wks5QQgeEQekqEFWyJm4pnPnVnNe1Kw+gybzdIgwg9gYwHr8UmKRp2YzZxSSwaAX YeYYdVkLDGGEBcYhjUY9WM+ndQ7U1eSwr691DS7szFNKC/BvJbw2GZY0x9BFIXF0Njtq Y6cA== X-Gm-Message-State: AOAM532F2uHUggySH9ZJ9PalLL93UR60A1cQXVbmcJi6GYlp4HCK3QCA rzTknPAFqP5avXZ+UdLtl/CO83tC05VEgic9wUwPy/1tktxpr1WKek9Xd1QOAPSVU1Vlzm2Cw5P Tz4DlKmoiVzqDayDbERah+G4cav0ekxw3o4M= X-Received: by 2002:a25:354:: with SMTP id 81mr5383488ybd.134.1623928654040; Thu, 17 Jun 2021 04:17:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzNxOVXVniR7azNK6QqojUcyleUy/9jraJw0k8tqORFUUqHsc6saxsCzJhpnNSwV7cjxwNOBzaz9bZRMiMM7E= X-Received: by 2002:a25:354:: with SMTP id 81mr5383471ybd.134.1623928653895; Thu, 17 Jun 2021 04:17:33 -0700 (PDT) MIME-Version: 1.0 From: Ming Lei Date: Thu, 17 Jun 2021 19:17:23 +0800 Message-ID: Subject: [Bug] fio hang when running multiple job io_uring/hipri over nvme To: linux-kernel@vger.kernel.org, io-uring@vger.kernel.org, Jens Axboe Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org 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] Thanks,