Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp776222img; Wed, 20 Mar 2019 10:35:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqwQW7oAyglW9CDg5mHf/zlTWXoM8CZmpdgME/1QraZm93hsm/cn9UoL7BNEBzbzqnWI8jAA X-Received: by 2002:a65:4104:: with SMTP id w4mr8403791pgp.415.1553103323415; Wed, 20 Mar 2019 10:35:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553103323; cv=none; d=google.com; s=arc-20160816; b=HcoP5L17My+Zt/3/bhYTnWumh0GqKjewWik65MbFqWY6TBt/8pr8vu7fRWeLQSCB6b o/viCdzeS0Lh1sbXbJfsa2s2he05XyE/11mVQeSN2+4OQsN0F7TJx1g9hOWjLIX4Tzml Ym9B0OOSD48J6e0p0yqnf7xVk3qDcG6efTusmR5cr5iQRpcaEnuPFAE1yHcOhPDNUUv1 6n5rWD9D+umo+nbrsteEVLtfJAVXo39QZ9vikwZpL07UIMlBQ5j6coXzfWfZ9qzr1qD0 VOL6kEh0VZqvGbOunR1zD7aOAGryu71YO4Gq5FcpDp7xYJjWflSDFPbR5J6z/fKSV99m MXAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=9d8YKFmYx/gV8rb12GxT4xAOjBlM1UmoR8kDvdYEvsM=; b=GtrbPHQCJKvNGie/z2vfPScmYKpeS3BYB4FgXhdjn1ifRgIGkczq5nsSWAnY51m2nh fjwndgG38tN8Fpc42x+nyW/dAgKD8TA5W2n4LjOrgTNQb0jNWqk9/j0DCIvjtqi8jc65 Gc8Ogf4mv4t8nh8Yf4yE2o+pvJ17mHST2qq3o/vxw+XVI4uhtXfQjYldE41qRt5Td2dS z5zPPk3R3rXMrfJozingJlhQIm0q/Wfc/YqVOnmmQb3Ew44KDkOyZ4SKJiMqL8giYm3z OHNvmg+MTyifE7rHVIoLaRl/JBtBkFNgdXQmX9wk/g1kTz4koHVF/uAaigD1UUoZy3UL +H0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 89si2387277pla.124.2019.03.20.10.35.08; Wed, 20 Mar 2019 10:35:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727166AbfCTRdQ (ORCPT + 99 others); Wed, 20 Mar 2019 13:33:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:5045 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726611AbfCTRdP (ORCPT ); Wed, 20 Mar 2019 13:33:15 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 92CEB30B24DE; Wed, 20 Mar 2019 17:33:15 +0000 (UTC) Received: from maximlenovopc.usersys.redhat.com (unknown [10.35.206.58]) by smtp.corp.redhat.com (Postfix) with ESMTP id C4EFD604CE; Wed, 20 Mar 2019 17:33:05 +0000 (UTC) Message-ID: <80d6ac26870b52d4df95dacb067a9c6f181b1581.camel@redhat.com> Subject: Re: your mail From: Maxim Levitsky To: Keith Busch Cc: Fam Zheng , Keith Busch , Sagi Grimberg , kvm@vger.kernel.org, Wolfram Sang , Greg Kroah-Hartman , Liang Cunming , Nicolas Ferre , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, "David S . Miller" , Jens Axboe , Alex Williamson , Kirti Wankhede , Mauro Carvalho Chehab , Paolo Bonzini , Liu Changpeng , "Paul E . McKenney" , Amnon Ilan , Christoph Hellwig , John Ferlan Date: Wed, 20 Mar 2019 19:33:05 +0200 In-Reply-To: <20190320170321.GA27462@localhost.localdomain> References: <20190319144116.400-1-mlevitsk@redhat.com> <20190319152212.GC24176@localhost.localdomain> <5a56e110b062de9d448c51cf0774c5e614133873.camel@redhat.com> <20190320170321.GA27462@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 20 Mar 2019 17:33:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-03-20 at 11:03 -0600, Keith Busch wrote: > On Wed, Mar 20, 2019 at 06:30:29PM +0200, Maxim Levitsky wrote: > > Or instead I can use the block backend, > > (but note that currently the block back-end doesn't support polling which is > > critical for the performance). > > Oh, I think you can do polling through there. For reference, fs/io_uring.c > has a pretty good implementation that aligns with how you could use it. That is exactly my thought. The polling recently got lot of improvements in the block layer, which migh make this feasable. I will give it a try. Best regards, Maxim Levitsky