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 X-Spam-Level: X-Spam-Status: No, score=-6.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6A512C433DF for ; Thu, 15 Oct 2020 09:50:35 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D12CA22250 for ; Thu, 15 Oct 2020 09:50:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ZKpAiKIn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D12CA22250 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id E67B7940011; Thu, 15 Oct 2020 05:50:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id E17F994000C; Thu, 15 Oct 2020 05:50:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id D2F00940011; Thu, 15 Oct 2020 05:50:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0128.hostedemail.com [216.40.44.128]) by kanga.kvack.org (Postfix) with ESMTP id A369494000C for ; Thu, 15 Oct 2020 05:50:33 -0400 (EDT) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 3514687E6 for ; Thu, 15 Oct 2020 09:50:33 +0000 (UTC) X-FDA: 77373689946.08.rice93_4909bbc27213 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin08.hostedemail.com (Postfix) with ESMTP id 188BB1819E766 for ; Thu, 15 Oct 2020 09:50:33 +0000 (UTC) X-HE-Tag: rice93_4909bbc27213 X-Filterd-Recvd-Size: 2167 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf02.hostedemail.com (Postfix) with ESMTP for ; Thu, 15 Oct 2020 09:50:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=SmhPOEKlg8B9Ue4+tpOAHnyB1Q0cAYxCWwGQMonkZRo=; b=ZKpAiKInggcUILdKOs6fbLqRMg DRqB959WGnrr4svCrtl4yj/P8OYVYt3aEoe7A3KiurmT5taMM50g/w+jvAVbXuA9ulMZvJzPcJnUB b5Ruo0Y4tn4mMTg2DC4UMxe/ixzFTxfBNHEtREcSZDjL/gwfHAzPJC2xS4D4/5MbKf4p2jiOAclZL 74vbF807sv6Cd7cOfUOuYrVQadd1RvbXjJEqedppv1Sw9WQ/VBPcsWUsDfXE7K+CPkutnmu+BZdDU 6OqFiwo0OB+LU63OgaYVYO5jqXihm2tcbsmIh3OCoTQDSsXnzccbpIZ40YLHNIUlZ7reMvWY9+kS7 +P7LffJQ==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kSzu1-0006Cv-FC; Thu, 15 Oct 2020 09:50:29 +0000 Date: Thu, 15 Oct 2020 10:50:29 +0100 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: linux-fsdevel@vger.kernel.org, linux-xfs@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 03/14] iomap: Support THPs in BIO completion path Message-ID: <20201015095029.GA23441@infradead.org> References: <20201014030357.21898-1-willy@infradead.org> <20201014030357.21898-4-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201014030357.21898-4-willy@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Oct 14, 2020 at 04:03:46AM +0100, Matthew Wilcox (Oracle) wrote: > bio_for_each_segment_all() iterates once per regular sized page. > Use bio_for_each_bvec_all() to iterate once per bvec and handle > merged THPs ourselves, instead of teaching the block layer about THPs. > > Signed-off-by: Matthew Wilcox (Oracle) This seems to conflict with your synchronous readpage series..