Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp934443pxv; Thu, 15 Jul 2021 20:25:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzeHMKI7V9cpiGLvjUi6/4glxhtPm92zJpw5/14RcyGIIATL9qaNbTLtUIr7uHRm/ny5K9 X-Received: by 2002:a17:906:998e:: with SMTP id af14mr9046589ejc.308.1626405899975; Thu, 15 Jul 2021 20:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626405899; cv=none; d=google.com; s=arc-20160816; b=xG7jrXbmCMkET7b5v1dZnTwU5oFBOJTFhSxdXovbpoVHPcvbDxf23V/15Bx0KJMpTJ i58+4reiPUvCC1fQK1KMtjgpV3Wt8JAPbyD7qcTdMbczRM2K4KqFd33nH/AigdY/unln jfsBZv52+Xy9eYqmprRbWsSEYSivYi2NuDNhpW8y/GZY7vE3NE0NnzxiHeUIcXyKjjcx tztVkAVsUYHt1WepBoiwITyzAN9KnK9Rh73uPiRPMzXB6UCDbQ39AqV73H07zRpNZA0M oSLgqFqdVydpI3jm34/7LDPJt2Ug2WdQ/FwGTAcMwnMCJ2MagVK1tV21AmG+aN/Ls70y 9XOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HjGRoc3/OqzyLh9Nr2BjY7Bgu7b4RzBA6Qr+2SpfJvE=; b=IxFxLQyZTpQhMkdScGFXsQAXKmhlw3CeQXzKpkgtcehyzdjmy1c1sLXgiYXSp+DOEw BeH8Q8Qy/Ybhzp2+aA1VuIbzbygD6m2IR2yCPcTeZyfHNHceV6lfNwxTHPLvmQabLFAf lFNgtxQfUSYuRBavE2ftdT3pSrEuKwRF6RTOXHKkAkNelCOUPkCfZ38gvSfM+OCmN6xE 537+fioRbMAUSCA2BojGEFXjvsEzppX4IHM9k6u/yOA3Jpqh2/+J1+CqdmOHv+eK9Wcy n/4LkroexDGoD8SLSC8fboPm+K0uiu7KSS7SlWC+YCinrVw5UqF/Xk58pTh8oyTLARuv opWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=tUuRsJ33; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d24si9247952eds.184.2021.07.15.20.24.37; Thu, 15 Jul 2021 20:24:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=tUuRsJ33; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233612AbhGPDYv (ORCPT + 99 others); Thu, 15 Jul 2021 23:24:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231230AbhGPDYt (ORCPT ); Thu, 15 Jul 2021 23:24:49 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3B05C06175F; Thu, 15 Jul 2021 20:21:55 -0700 (PDT) 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=HjGRoc3/OqzyLh9Nr2BjY7Bgu7b4RzBA6Qr+2SpfJvE=; b=tUuRsJ33AjA2ugN3txWiyXZt+x WE4UgVX90LCGZamtHp4iHC69QF1b5S+p17M/LPQWha2GjlTTogNQXC0miZqf2UdgYaPRsqCCb+enw mLxRp+6F/X5cPmHK15rJeiTBStUXuuAj+wPNOnUPpuDmmC2Zrm6AJMgdTmncPpoAdnAINhH1SBBHF /QI8vYG8ajOr799yuRu+HhJ7F65HzsNIV5Hc4KX4K0KMGGfkrEk6LZqkbt3v+VSxBEObQGPkj0rWs SvPBryeTtuawDHWhK1GFZ20xKUngDK9XVXoLfxwprXLIKRnzvvTxdQOJ6P1JyQqSDGdV1R9vNapU8 JEEzXztA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4EPl-0046HX-Dr; Fri, 16 Jul 2021 03:21:30 +0000 Date: Fri, 16 Jul 2021 04:21:25 +0100 From: Matthew Wilcox To: "Darrick J. Wong" Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v14 097/138] iomap: Pass the iomap_page into iomap_set_range_uptodate Message-ID: References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-98-willy@infradead.org> <20210715212105.GH22357@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210715212105.GH22357@magnolia> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 02:21:05PM -0700, Darrick J. Wong wrote: > On Thu, Jul 15, 2021 at 04:36:23AM +0100, Matthew Wilcox (Oracle) wrote: > > All but one caller already has the iomap_page, and we can avoid getting > > it again. > > > > Signed-off-by: Matthew Wilcox (Oracle) > > Took me a while to distinguish iomap_iop_set_range_uptodate and > iomap_set_range_uptodate, but yes, this looks pretty simple. Not my favourite naming, but it's a preexisting condition ;-) Honestly I'd like to rename iomap to blkmap or something. And iomap_page is now hilariously badly named. But that's kind of tangential to everything else here.