Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3915606pxb; Tue, 2 Nov 2021 00:19:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtY3JSkWk2JKV92igqZ+Fl6x/8zwqyk7jgtltpt/kbSZNWldCmqzYAJHOiyaSQJP2BOSE2 X-Received: by 2002:a5d:8785:: with SMTP id f5mr24768449ion.110.1635837557634; Tue, 02 Nov 2021 00:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635837557; cv=none; d=google.com; s=arc-20160816; b=Zhfshce7zG76HhUCVn954UDSg+YRNohveRwxOWccGJDwJxOBQ7SFCP+kK6irqS5nV9 cOMisRwKeFHLRWBRP/XOlEmnlekiV8YeTCcaeFbEf266HiQ5lRsG515jXOIOx/T2saWy BJzX9BiPSYlgQYwt6W2heMmGsEPg0gBY3K7lvzePm/fp0saVwjuxdVmwd/CQQ+HjZ1Cs azw3pbcQy7lI/XRVLTzphaTEe0co1ylVJ7bS+gxoEWpCXdGn3PI8CtURQljvogiQjMAD rqcbqy4rYyn3YisDCn/1/z0L49AJ5Sy6Pr7Cs0XjGylEVzyNCrtika7Lu5Q/5VQAJxJh zkuA== 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=Zi6VnL+0EM+4yp3q0IkIEP2KovAoGu2LYvkYPHRMqtM=; b=oZYXpoSKyzIIsAN+i2/UrDWXeGVE0LPeXLit4KENfo1h1o12ZeX7cQXB0xzn0FgiQG 5SEDImjASzS246ihtjENoY2sHTcwIlFlxCDXDtGd/LXXa02ORCmdHByCDUHb2yj0UeDw rXK3m02efMzkqPZhXyCSEnBo9DvT+1G0BKeij+Vbl5RbZO0+MRSxsRQIol4MR2gcexSR QpQ4mipP+ivcFbGPCP9Hq/80SRhlADozbZ8i6JkDn4x0OUoVxnYXC90ycug8sIyA3Tbu bE/OQO1S8kmgrvldu69YeKiUV8F7P2/DEjK2FhwixkPLLfosShd99tW6fUO7iXSn76JS 4G0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=FMtrkv0C; 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 ay38si15051441iob.54.2021.11.02.00.19.05; Tue, 02 Nov 2021 00:19:17 -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=bombadil.20210309 header.b=FMtrkv0C; 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 S231284AbhKBHUm (ORCPT + 99 others); Tue, 2 Nov 2021 03:20:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbhKBHUj (ORCPT ); Tue, 2 Nov 2021 03:20:39 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C70A7C061714; Tue, 2 Nov 2021 00:18:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=Zi6VnL+0EM+4yp3q0IkIEP2KovAoGu2LYvkYPHRMqtM=; b=FMtrkv0CRp6kiioQFvf1gjYFio vDFWlXkT8YQmdKeR0eJhlHPh/Kz30DdicSA/4CH3lCJO+y9KD7rDUeGdTCV9Q1SfNSPio8DqU1sbA 3FIjS9iMeH30hYcOTQBBskwnLN+Z6f1EXO+/oQJMm3kIbkAFZ3MsFTWy/pnsHtDKXpXEQR5LNFZNH N/ciJ41ko9Z3w/mTRdFzIUwMlkINdF5yIXkHJCu3sifl2q3AB5/PKIBcwbrYE7rlTUQMmCCcIxuPj bTUQJI+kwWTiU6ZUZnj8fbhd2ve7nTkfkFcloXWjrAVyESSeTKxlKwqpcrG93LLUlSejtckpRks6k ZiCPx8/A==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mho3X-000kmU-Rm; Tue, 02 Nov 2021 07:18:03 +0000 Date: Tue, 2 Nov 2021 00:18:03 -0700 From: Christoph Hellwig To: "Matthew Wilcox (Oracle)" Cc: "Darrick J. Wong" , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Jens Axboe , Christoph Hellwig Subject: Re: [PATCH 11/21] iomap: Use folio offsets instead of page offsets Message-ID: References: <20211101203929.954622-1-willy@infradead.org> <20211101203929.954622-12-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211101203929.954622-12-willy@infradead.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 01, 2021 at 08:39:19PM +0000, Matthew Wilcox (Oracle) wrote: > Pass a folio around instead of the page, and make sure the offset > is relative to the start of the folio instead of the start of a page. > Also use size_t for offset & length to make it clear that these are byte > counts, and to support >2GB folios in the future. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Darrick J. Wong Looks good, Reviewed-by: Christoph Hellwig