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 9B37DC54EE9 for ; Wed, 7 Sep 2022 21:04:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229485AbiIGVEy (ORCPT ); Wed, 7 Sep 2022 17:04:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbiIGVEx (ORCPT ); Wed, 7 Sep 2022 17:04:53 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 667C34332A for ; Wed, 7 Sep 2022 14:04:52 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id q21so1980982qtp.7 for ; Wed, 07 Sep 2022 14:04:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=tL260q14vnjvd8h6wZ4315+2PR2g4ctqHjhPegXiYHE=; b=7AJXrAO6L9XjLu0ZAAVhRjGQFFH5y9cbsKq8og3y33xvxJ2Fi+HbK9cTTBpIjFIbNW rZnaF+TJZlILIMFOFYdOl6p3xqDngMh+yMtfTYSd2V1tIC2t0Xw/CgU8Ne8E6g7kPbHV GN6ajtqpQUHzAA40lD+7VhJlKzr3hy5gJ5WxFJjvHux50jzUbrD9OT3D4V2ejGjMPxdq jE25a955SK5BL9c3ILmQeapTIuFlyk737tVrX8HFU5GpjPZwyYGuljhhvQ5WGZJZmyKq KS66XlkQ3Xf8bapYa2KaiHTO+vLXhQ1edC90ZeNO02pXy56ZIdGw2nFH5qh6kVG9xWKh ezQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=tL260q14vnjvd8h6wZ4315+2PR2g4ctqHjhPegXiYHE=; b=OVDBdRBNfiRtEnwv1DPhEK1sFz3rlEYPcInU62qdq6sMZVws9gTjvTrVgdTO0Z2lsE q396DlIKqSJR6m8qbOhy+T5+Ej4UJj+kJWFk3jv8fK7B20WNIj5BvQRM3aC0Wpapr34X udFXR913C+pRsb8SudAExRUaK/VtCTJnBZiGN1zkFzgGuk2j8Gv0lxyNcTuDwqxhSnk1 2HLXf6iAKOqQ+LHUPrFP6ERFggbffAkMjfx19CUujHjwc1GqIMEewjHxwHAyCWNmf/Ar yDENr/vMHQSsqP48Q0RZNJtfabdKHK5UPfiDUDbKmHgEBDC5hSDDKL1syg4aHqQwA9MH ozEQ== X-Gm-Message-State: ACgBeo3ffHA379CWJXy7udP3yMTdkdmF9Z4rdwUUGBfKs86fEZCEm3wv 0RcnbvjH86BGbio4sjFuCZGx/g== X-Google-Smtp-Source: AA6agR5zPI40PG+WDMG3lWYyFuSGLe6nQZTsNFYIvFPzABdVJasmRZ/4y4br8oUWq/CslElHY/NGSQ== X-Received: by 2002:a05:622a:52:b0:344:7021:dafa with SMTP id y18-20020a05622a005200b003447021dafamr4945617qtw.52.1662584691377; Wed, 07 Sep 2022 14:04:51 -0700 (PDT) Received: from localhost (cpe-174-109-172-136.nc.res.rr.com. [174.109.172.136]) by smtp.gmail.com with ESMTPSA id he22-20020a05622a601600b00304fe5247bfsm12740691qtb.36.2022.09.07.14.04.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Sep 2022 14:04:50 -0700 (PDT) Date: Wed, 7 Sep 2022 17:04:49 -0400 From: Josef Bacik To: Christoph Hellwig Cc: Chris Mason , David Sterba , Damien Le Moal , Naohiro Aota , Johannes Thumshirn , Qu Wenruo , Jens Axboe , "Darrick J. Wong" , linux-block@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 09/17] btrfs: remove stripe boundary calculation for buffered I/O Message-ID: References: <20220901074216.1849941-1-hch@lst.de> <20220901074216.1849941-10-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220901074216.1849941-10-hch@lst.de> Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, Sep 01, 2022 at 10:42:08AM +0300, Christoph Hellwig wrote: > From: Qu Wenruo > > Remove btrfs_bio_ctrl::len_to_stripe_boundary, so that buffer > I/O will no longer limit its bio size according to stripe length > now that btrfs_submit_bio can split bios at stripe boundaries. > > Signed-off-by: Qu Wenruo > [hch: simplify calc_bio_boundaries a little more] > Signed-off-by: Christoph Hellwig Reviewed-by: Josef Bacik Thanks, Josef