Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp231269rwi; Wed, 12 Oct 2022 19:15:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7d3E3CIjS5W4wv/GrVLxP+eUh8RJqok7n4iBfDbxofQ3u6hPjpYHwimTNli3f2gHjzBpui X-Received: by 2002:a05:6402:154c:b0:459:b29:da88 with SMTP id p12-20020a056402154c00b004590b29da88mr30756648edx.296.1665627356017; Wed, 12 Oct 2022 19:15:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665627356; cv=none; d=google.com; s=arc-20160816; b=dLXaAc/znXAV05KYkggctoPVr2sf395kj/6USRq5OSQMwyjx0BJhhVWYgUsgAXAOmF yAf3ShKrfxhdRQZNZaG/Qh/tn7a77mfohvifFzOPZwkpSrt4++peocf/DMkOEcVLFZn9 esPxq5rL9QQBenYCwDEko0R8PBXHzr83XQD+6Bsl3S8CbKbxmIyKoU0eO1H8clAtTPjH 9faUsvWpH9AEaoTxJDA2Q6qjV+B2/Hu4o0imxogAT8qdyWeIBzRHKUgiSYUDp6+R92S9 8qUvDivDMr5U8IK2kKJhdSA2OVQQ9fVBsBBMcEaNpQ46kVk8zA2nFDB8t65oNYgng7TJ vVJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=k+fj3xaPXr55GP2FJv1sRZl6lOLiSQ/9qXaPvpYFz2w=; b=vTdKLn5tdBddp760f7jUUZ2EjRvpR+ZLVZf9k5V9R6LY6U1a+/+rBiui7+rTkJ/8jQ HAT7QYGbU7v5GD6cs35lyqvlqsL6cpIJMSpe2zEDUeZgDO+s13nx1XpKyov2R/3pgxTz UwPjfRPbX/t1/ldSBpAJr4KZBY6K3NZx3X13EYnj1KZuTkLBCCiUUVVhzjaWyy5CRrMz AwDAnb37/XXTcfYvPxqZM4zrrx+2aogrQiaLeyBfWNSMxYlZe5vai7axp4Ouu9OczKwC D1XGPKk3h+Kl7n/LeVTax47F/dKXTGZemO2H7ISPOwc12fem5bFzTQKKlgE1j3CASQmc fv7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Sm9uh2W7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd7-20020a170907968700b0078dce385238si8450568ejc.517.2022.10.12.19.15.26; Wed, 12 Oct 2022 19:15:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Sm9uh2W7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229929AbiJMBvR (ORCPT + 99 others); Wed, 12 Oct 2022 21:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbiJMBvD (ORCPT ); Wed, 12 Oct 2022 21:51:03 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 048EFEE0A7; Wed, 12 Oct 2022 18:51:03 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id i3so632555pfk.9; Wed, 12 Oct 2022 18:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=k+fj3xaPXr55GP2FJv1sRZl6lOLiSQ/9qXaPvpYFz2w=; b=Sm9uh2W7FEzUaBs04hT8hSWvVQG5de9bJ5uV8g35ZaNBfyeQEyzQyCv+/COgZdKuCY xWQrkJLHa18E97WyAsMNpkzyzvHEF36kq4d0D+e58dDnP54SV0Ks68V8xNbyGhz+nbA5 ZgrjkUYgcIGUNkJTBiM4NrZPt0yHxPJ2SSqya2v3jIS1ivwnuQQzj6alQ2j9gw/3nJkx bfdcAKCVWHNB0UF1m4qfnjW+buy87goAruDFsHQrqdQqYc53xqSfN6BZDepREMH7dFrt SPBSrE3MIPPoIrxOyyKxQxCYIFzwWu8Hpu1c0GnG69tbmQKQlijJ6aMkrbr4gvzrPMSo Yi8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=k+fj3xaPXr55GP2FJv1sRZl6lOLiSQ/9qXaPvpYFz2w=; b=bID/9CBFT8uTibYpCNEyMpmd6It/v8pUrK67a+nRGJWMncXq6KuZ3VFTadlMlgummx 8nvHQCN0xoRs0e/TnVSFEWmc8OkMUOiyTKGU7eJ4X4GsCO1YKQKBnbmDpGoK+/Tt2XiI LK4ux4O1vmTH/VSYxFSgy+Z+G33qFqD5h4e2DEBb2GZKrf5uul5iIG1+2viChapEgbgr dr9VnwM+ltkOcS0+f/Deq5DuSEDM/AjgYGWYGIK1YO25aNq13j8ZkIyvMiacl/lhwk8f aHDMYxGKGu0Mws1hqZFYOjE7vV0JbKp6MtwNMZdTaeb9QsamLP906XO12n3oYy8DvEsQ bhpg== X-Gm-Message-State: ACrzQf2eQ6jWgu8ALPR8+9OjiDWObEJA4x6H2ukM5KQ91E/+rYOVlpq1 i3RCF1j+gzJBID/q+iiGl/A= X-Received: by 2002:a63:c145:0:b0:44e:9366:f982 with SMTP id p5-20020a63c145000000b0044e9366f982mr27587348pgi.584.1665625862576; Wed, 12 Oct 2022 18:51:02 -0700 (PDT) Received: from T590 ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id y4-20020a623204000000b00562ab71b863sm496161pfy.214.2022.10.12.18.50.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 18:51:02 -0700 (PDT) Date: Thu, 13 Oct 2022 09:50:55 +0800 From: Ming Lei To: Stefan Hajnoczi Cc: "Richard W.M. Jones" , Stefan Hajnoczi , io-uring@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Kirill Tkhai , Manuel Bentele , qemu-devel@nongnu.org, Kevin Wolf , Xie Yongji , "Denis V. Lunev" , Stefano Garzarella Subject: Re: ublk-qcow2: ublk-qcow2 is available Message-ID: References: <20221006101400.GC7636@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 12, 2022 at 10:15:28AM -0400, Stefan Hajnoczi wrote: > On Thu, 6 Oct 2022 at 06:14, Richard W.M. Jones wrote: > > > > On Tue, Oct 04, 2022 at 09:53:32AM -0400, Stefan Hajnoczi wrote: > > > qemu-nbd doesn't use io_uring to handle the backend IO, > > > > Would this be fixed by your (not yet upstream) libblkio driver for > > qemu? > > I was wrong, qemu-nbd has syntax to use io_uring: > > $ qemu-nbd ... --image-opts driver=file,filename=test.img,aio=io_uring Yeah, I saw the option, previously when I tried io_uring via: qemu-nbd -c /dev/nbd11 -n --aio=io_uring $my_file It complains that 'qemu-nbd: Invalid aio mode 'io_uring'' even though that 'qemu-nbd --help' does say that io_uring is supported. Today just tried it on Fedora 37, looks it starts working with --aio=io_uring, but the IOPS is basically same with --aio=native, and IO trace shows that io_uring is used by qemu-nbd. Thanks, Ming