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 F33BCC433F5 for ; Fri, 20 May 2022 06:08:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345728AbiETGIE (ORCPT ); Fri, 20 May 2022 02:08:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232897AbiETGIE (ORCPT ); Fri, 20 May 2022 02:08:04 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1E0049263; Thu, 19 May 2022 23:08:02 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id D775A68AFE; Fri, 20 May 2022 08:07:58 +0200 (CEST) Date: Fri, 20 May 2022 08:07:58 +0200 From: Christoph Hellwig To: Keith Busch Cc: Christoph Hellwig , Eric Biggers , Keith Busch , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, axboe@kernel.dk, Kernel Team , bvanassche@acm.org, damien.lemoal@opensource.wdc.com Subject: Re: [PATCHv2 3/3] block: relax direct io memory alignment Message-ID: <20220520060758.GA16557@lst.de> References: <20220519074114.GG22301@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, May 19, 2022 at 10:35:23AM -0600, Keith Busch wrote: > > At least stacking drivers had all kinds of interesting limitations in > > this area. How much testing did this series get with all kinds of > > interesting dm targets and md pesonalities? > > The dma limit doesn't stack (should it?). It gets the default, sector size - 1, > so their constraints are effectively unchanged. In general it should stack, as modulo implementation issues stacking drivers sould not care about the alignment. However since it doesn't there might be some of those.