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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 546B5C433FE for ; Wed, 24 Nov 2021 03:27:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240826AbhKXDan (ORCPT ); Tue, 23 Nov 2021 22:30:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240495AbhKXDan (ORCPT ); Tue, 23 Nov 2021 22:30:43 -0500 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6543C061714 for ; Tue, 23 Nov 2021 19:27:33 -0800 (PST) Received: by mail-ed1-x52d.google.com with SMTP id r25so3832983edq.7 for ; Tue, 23 Nov 2021 19:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mariadb.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=D3mlwxctVc4YiNL6SnhzyJ7Y2X2Dj6ittHGw+Kf7k0k=; b=FQFEgmxbILrG5odT1Ghdmx+0mB51dD6nTOs2uX5aQJDin9DYe/wkkczPtxjcJag/fC XAlCINVzNG6gNeiGEzmCsRZ2QH3AsLSuGxi0Vsl4Mm9UD1iZboHxKvnB1JAy4Bjjbyt+ +m7uDe6YdsvE+k1rfVp85v/8zhTdsWSP7ZfPc7cQEuVy9minHTpXQjT9U6V0bhd4gncD 4kW3gsQ7FZfMNgv09yYwtrl6HkzCj79fbf7FgCUmlA6hi88hRKf+yiH4ebF6QInaoSIh ZZ/OP6qO/EfBMxR8wIn20wXbNJI6wZMp30DGSuI5vUf5NKaNoBi4K7fiI46X8EE57Aho 8sEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=D3mlwxctVc4YiNL6SnhzyJ7Y2X2Dj6ittHGw+Kf7k0k=; b=b2ctibKxPMwyfy0oAloHgBBn6rKWu9M8Eoqbnwxd/xkIZy4ry2q7FNEQRI7wcoiUJV ftbCay+RzbWYRFMDinG3bLmc6v2Uog3wsLCtIG75yft4t/oChVc1aGbAModPf5mF2NcO NigtXgnH8K0KuJ2IGInAnl6Rha7eMotE29vH5hN5F8hJtBr17AUf6nGMq9LhUnQ4O2JP kQEza2psLuNDmj7AL1mOmMQNMdnjTABfEUNQ9fiEAUu9i+1qnxqmPKarwl8kQkc5/D0n 7ycSh3IDlaLj4omLpMpcrPbJ1sA0hL+csgwUHQ3eLPSZXjvmfeUAKdGCV6NeERIoqX0X PEfQ== X-Gm-Message-State: AOAM5325nlKMQm6D+MVgUcMujaUCH91avbXY7qjjzgi4PrFUjxzyNruj XWGjhvW0yuFyO6S8mq+rQJexwid3q5hcRztIT4K/Ug== X-Google-Smtp-Source: ABdhPJxEX3C0q6ga3rdCbtItwvoOsWDSpxLt++YGtTOkdlHeJP27dulf3Jmz7XeNV7OAQLgXeItWjRxmNtT7gDbl9Zk= X-Received: by 2002:a05:6402:40d3:: with SMTP id z19mr19351146edb.185.1637724452475; Tue, 23 Nov 2021 19:27:32 -0800 (PST) MIME-Version: 1.0 References: <8cd3d258-91b8-c9b2-106c-01b577cc44d4@gmail.com> <23555381-2bea-f63a-1715-a80edd3ee27f@gmail.com> <1bd48c9b-c462-115c-d077-1b724d7e4d10@kernel.dk> <6d0ca779-3111-bc5e-88c0-22a98a6974b8@kernel.dk> <281147cc-7da4-8e45-2d6f-3f7c2a2ca229@kernel.dk> <00d6e7ad-5430-4fca-7e26-0774c302be57@kernel.dk> In-Reply-To: <00d6e7ad-5430-4fca-7e26-0774c302be57@kernel.dk> From: Daniel Black Date: Wed, 24 Nov 2021 14:27:21 +1100 Message-ID: Subject: Re: uring regression - lost write request To: Jens Axboe Cc: Salvatore Bonaccorso , Pavel Begunkov , linux-block@vger.kernel.org, io-uring@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Mon, Nov 15, 2021 at 7:55 AM Jens Axboe wrote: > > On 11/14/21 1:33 PM, Daniel Black wrote: > > On Fri, Nov 12, 2021 at 10:44 AM Jens Axboe wrote: > >> > >> Alright, give this one a go if you can. Against -git, but will apply t= o > >> 5.15 as well. > > > > > > Works. Thank you very much. > > > > https://jira.mariadb.org/browse/MDEV-26674?page=3Dcom.atlassian.jira.pl= ugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D205599#comme= nt-205599 > > > > Tested-by: Marko M=C3=A4kel=C3=A4 > > The patch is already upstream (and in the 5.15 stable queue), and I > provided 5.14 patches too. Jens, I'm getting the same reproducer on 5.14.20 (https://bugzilla.redhat.com/show_bug.cgi?id=3D2018882#c3) though the backport change logs indicate 5.14.19 has the patch. Anything missing? ext4 again (my mount is /dev/mapper/fedora_localhost--live-home on /home type ext4 (rw,relatime,seclabel)). previous container should work, thought a source option is there: build deps: liburing-dev, bison, libevent-dev, ncurses-dev, c++ libraries/compiler git clone --branch 10.6 --single-branch https://github.com/MariaDB/server mariadb-server (cd mariadb-server; git submodule update --init --recursive) mkdir build-mariadb-server cd build-mariadb-server cmake -DPLUGIN_{MROONGA,ROCKSDB,CONNECT,SPIDER,SPHINX,S3,COLUMNSTORE}=3DNO ../mariadb-server (ensure liburing userspace is picked up) cmake --build . --parallel mysql-test/mtr --mysqld=3D--innodb_use_native_aio=3D1 --nowarnings --parallel=3D4 --force encryption.innochecksum{,,,,,} Adding to mtr: --mysqld=3D--innodb_io_capacity=3D50000 --mysqld=3D--innodb_io_capacity_max=3D90000 will probably trip this quicker. 5.15.3 is good (https://jira.mariadb.org/browse/MDEV-26674?focusedCommentId= =3D206787&page=3Dcom.atlassian.jira.plugin.system.issuetabpanels:comment-ta= bpanel#comment-206787).