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 2B959C6FD1D for ; Mon, 20 Mar 2023 20:57:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230195AbjCTU5K (ORCPT ); Mon, 20 Mar 2023 16:57:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbjCTU5J (ORCPT ); Mon, 20 Mar 2023 16:57:09 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBB623C10; Mon, 20 Mar 2023 13:56:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 34B21B8100E; Mon, 20 Mar 2023 20:56:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AC9BC433EF; Mon, 20 Mar 2023 20:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679345812; bh=kFs7V0IpcMLHd4kjh+6jT4C97CouHl8tC7dSXw/CdNI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CVVa5S3wGOb/dZEZkalkdl+aTbABvYxMyPYlBnkwf9QI23Sci6LbrPqS6/e8PqZpW 0i6ygiLK1b5i1IwBRknE2OBxtF49nfUpXIskwIUsaCHxMkKY4itZOzo0DaP4g5Fxkb duiDHiJyYF4vTsdccdNZA7TGOnueFEsE0CV0CK6cekKx2BnmYXPcWXMZp11YbeXqXD QlbNQZxCaSj/4yQYi++P982ECM89zH7rnpihfvXo9Ku1oEAds4I55WQF8V910Fcevu dlCuQRnMN6wTI3n121i7UPKTOVgSIMHHKaR1cfA9jizmRmTlPxa35cTUe273z+4e/F SCuYndqoRUd+A== Date: Mon, 20 Mar 2023 14:56:49 -0600 From: Keith Busch To: Keith Busch Cc: linux-block@vger.kernel.org, Jens Axboe , io-uring@vger.kernel.org, Pavel Begunkov Subject: Re: [PATCHv2] blk-mq: remove hybrid polling Message-ID: References: <20230320194926.3353144-1-kbusch@meta.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230320194926.3353144-1-kbusch@meta.com> Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Mon, Mar 20, 2023 at 12:49:26PM -0700, Keith Busch wrote: > From: Keith Busch > > io_uring provides the only way user space can poll completions, and that > always sets BLK_POLL_NOSLEEP. This effectively makes hybrid polling dead > code, so remove it and everything supporting it. Hybrid polling was effectively killed off with 9650b453a3d4b1, "block: ignore RWF_HIPRI hint for sync dio", so we could add a "Fixes: " for that. It was still potentially reachable through io_uring until d729cf9acb93119, "io_uring: don't sleep when polling for I/O", but hybrid polling probably should not have been reachable through that async interface from the beginning.