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 D1DE8C433F5 for ; Tue, 31 May 2022 06:29:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244281AbiEaG3W (ORCPT ); Tue, 31 May 2022 02:29:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232025AbiEaG3U (ORCPT ); Tue, 31 May 2022 02:29:20 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7C6F66683; Mon, 30 May 2022 23:29:19 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 37EA268AFE; Tue, 31 May 2022 08:29:16 +0200 (CEST) Date: Tue, 31 May 2022 08:29:15 +0200 From: Christoph Hellwig To: Keith Busch Cc: linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, axboe@kernel.dk, Kernel Team , hch@lst.de, bvanassche@acm.org, damien.lemoal@opensource.wdc.com, ebiggers@kernel.org, pankydev8@gmail.com, Keith Busch Subject: Re: [PATCHv4 9/9] fs: add support for dma aligned direct-io Message-ID: <20220531062915.GE21098@lst.de> References: <20220526010613.4016118-1-kbusch@fb.com> <20220526010613.4016118-10-kbusch@fb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220526010613.4016118-10-kbusch@fb.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Wed, May 25, 2022 at 06:06:13PM -0700, Keith Busch wrote: > From: Keith Busch > > Use the address alignment requirements from the hardware for direct io > instead of requiring addresses be aligned to the block size. I'd suggest dropping the legacy direct-io.c change. Anyone who wants new features really should be using the iomap code, which also significantly reduced the amount of testing needed here and the chance of regressions.