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=-6.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 9F606C48BDF for ; Tue, 15 Jun 2021 14:37:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7DA6361493 for ; Tue, 15 Jun 2021 14:37:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230321AbhFOOjN (ORCPT ); Tue, 15 Jun 2021 10:39:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:53888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230208AbhFOOjN (ORCPT ); Tue, 15 Jun 2021 10:39:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2475F61464; Tue, 15 Jun 2021 14:37:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623767828; bh=xBkTfMcRJbm0r2yuh07T27aOb/wH4z9qzwDyOpM5Gls=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Oo0UExwt0A314sDdrtZxUnok0jEzA4xHWLtCJ6GRMW6uQytwGSGmdCtapFX9IuM7t q7QoKS2cHRKztaK18sa2Hwx5Iao5tcUkvauEVln7nz7R4iOdfq5QwlxfHh4YeZCTfP gflDfbYrqueDUJxxSRMDnIGznkbUlDZiLjUI4YDywOIf6beuTxlog2G+tiA04ESbto TsQW5PNpzZyiGgT3JMLOTC18yEWx+4xoiDcyyF8t1M5fY2WAXwxxEPX+MD25GoyhB+ BpubDUTmwWljXOIcs9yJJvHeMgmHoTMgezora00weH5XisSOBqXvMzlwgPEciidjuk tlVIUwSlDN0kg== Date: Tue, 15 Jun 2021 07:37:06 -0700 From: Keith Busch To: Christoph Hellwig Cc: Jens Axboe , Jeffle Xu , Ming Lei , Damien Le Moal , Sagi Grimberg , "Wunderlich, Mark" , "Vasudevan, Anil" , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-nvme@lists.infradead.org Subject: Re: switch block layer polling to a bio based model v4 Message-ID: <20210615143706.GB646237@dhcp-10-100-145-180.wdc.com> References: <20210615131034.752623-1-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210615131034.752623-1-hch@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Tue, Jun 15, 2021 at 03:10:18PM +0200, Christoph Hellwig wrote: > Chances since v3: > - rebased to the latests for-5.14/block tree > - fix the refcount logic in __blkdev_direct_IO > - split up a patch to make it easier to review > - grab a queue reference in bio_poll > - better document the RCU assumptions in bio_poll It still doesn't look like a failover will work when polling through pvsync2. We previously discussed that here: https://marc.info/?l=linux-block&m=162100971816071&w=2