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 3A8CAEB64DD for ; Mon, 24 Jul 2023 20:07:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229664AbjGXUHT (ORCPT ); Mon, 24 Jul 2023 16:07:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjGXUHS (ORCPT ); Mon, 24 Jul 2023 16:07:18 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D13C110D8; Mon, 24 Jul 2023 13:07:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=J5wWW1EtFpBIR05IfxoMHzoYojyakUH8TdbRyvGIOTM=; b=dqbo8CdnSUk9Z9Q0jUU79AqTgR TcWOjjUyjkkqeo5PB4ZrIkdlieYkyVRlJz4+DZ/8w3Q7GyAlVp0Mi+OmD03aJA63T+0mpGefhi553 M7GK397iMH4Jhak7mEis7MKfTe9ZvaxGo6zqwniAQry17ceBmQCT0NU8ciNTW1scF3v+rcsdI9Dk7 5Ld6dKPI0RWwdnUZ1uIFHQuVG3oRbrHUQIZm9ftpPcY1zxbFCFV8P3xuJIVU+VeGEU/VSPgWZzfdn AW4QYe+T0gskK/0hgNMWahfGIYEN4zUYPn7qZtk/EGuCBdWA0AauEY9/uwE13etR5+a8M4icYNLzl RVDEpyAg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qO1pp-005MNS-2u; Mon, 24 Jul 2023 20:07:13 +0000 Date: Mon, 24 Jul 2023 13:07:13 -0700 From: Luis Chamberlain To: Christoph Hellwig Cc: Jens Axboe , "Darrick J. Wong" , Andrew Morton , Matthew Wilcox , Christian Brauner , linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/6] block: stop setting ->direct_IO Message-ID: References: <20230720140452.63817-1-hch@lst.de> <20230720140452.63817-5-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230720140452.63817-5-hch@lst.de> Sender: Luis Chamberlain Precedence: bulk List-ID: X-Mailing-List: linux-xfs@vger.kernel.org On Thu, Jul 20, 2023 at 04:04:50PM +0200, Christoph Hellwig wrote: > Direct I/O on block devices now nevers goes through aops->direct_IO. > Stop setting it and set the FMODE_CAN_ODIRECT in ->open instead. > > Signed-off-by: Christoph Hellwig Reviewed-by: Luis Chamberlain Luis