Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3922657pxb; Tue, 2 Nov 2021 00:29:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWRSYBOsHEdYYqnFe60gdF6T7cJYi/ilN6g8SjhrVnOsA5U1E2y6klvlrqMNzwQ+TSQc4F X-Received: by 2002:a05:6e02:188c:: with SMTP id o12mr8794542ilu.259.1635838145136; Tue, 02 Nov 2021 00:29:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635838145; cv=none; d=google.com; s=arc-20160816; b=0I40UHo4+geyd4mxHgvpzfehWFO2TyGyDJfE2qqX1ZRsMxtPg/hSAA1weURdC8kmOS aMqQqsoxbbZMQcxce8RGdML7RWneFODbqsgwe0uXnvtQCF1sTc6uMfXVVp+8+WxiEKMy h9H/MwRie5skeUh4phU1aP9UMON8zO4XiVww1w4QhcoY+r5OhYwNJ1qBjjARRkdsc1Pf qglcQ+9StgTbUFaZKm0wuW5iCydYeT9lCFYInfow7aYefqhYIUvOAx9Bxn0GKSqbny8/ JvZyoLT+n7p68zTTHu/2+OP9VbncXOQjzJxKvBpAk72w8Js+f56/OuyqHuHRpeQ81aYq 8Bpw== 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=Jdm/QBCB3g1mmJmo3Y5N27+U79DUnPMJE6rhgiuJeX0=; b=V/yMLu2Gm5kOyV5p06cONVPcDkN0RSlZFNaX5VJl4T6NyYz7RHE0N2R7aDjarkZo2p qHKpaZykmyb749t61fjXXkIIT2oVb4VSelPBwbWsZj09HxvsSeGN6dUWeQgnvrX+0u5C h4qjFfkR6/XJBOdcF0uUSahLIu977tt8oIiYiaR4leUtGpQA2gFfh2miZRjR4TKjw+Q5 ODv4wSYS6TDvpF6La3IoXY6kY3O+eX+syIAt23ttd5Rz4e9QoHVJqraZdrajclj90B5x Ef2n4mgVtAPullZkmt90FTyzF6TLSpeQUoXxGrHnPd+gqhej/MOhiHeSLhMw4DVqOG5l 0jcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Z7etUTuT; 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 l4si28104592jad.19.2021.11.02.00.28.53; Tue, 02 Nov 2021 00:29:05 -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=Z7etUTuT; 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 S230505AbhKBHaJ (ORCPT + 99 others); Tue, 2 Nov 2021 03:30:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229616AbhKBHaJ (ORCPT ); Tue, 2 Nov 2021 03:30:09 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6373C061714; Tue, 2 Nov 2021 00:27:34 -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=Jdm/QBCB3g1mmJmo3Y5N27+U79DUnPMJE6rhgiuJeX0=; b=Z7etUTuTju2oDlMKEiX4s0kJpf B2esI9f+uvMXU2fUe6fgqt9ziwtsLlTa3sJkSbugeqLWOllE6Qn+5J0+fcPRUJ/j6WQzilTmE1fbT ls8CCrGlX++thzTp89ZF3SzSlvguKetzT2O+RCo01JznRx1lPkeWsoATfPDJIVwh4pxsnYZRsxXl+ xviAfxZfvH/G7IKe0tjjLU/n6Jptu47dJ+nYzkFaKDPihbqtMWkPwi7UGvcAH9Ckny6EGqk3hpKSK zCB7gkPVHtiYnUSzD2GWKQXIgmiw1GiMfY8qkYifJXkkbj50cnsRgFwnbhqeXC76FD5AR329/L/ew 5gS+/kpw==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mhoCj-000mMz-W0; Tue, 02 Nov 2021 07:27:33 +0000 Date: Tue, 2 Nov 2021 00:27:33 -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 20/21] iomap: Support multi-page folios in invalidatepage Message-ID: References: <20211101203929.954622-1-willy@infradead.org> <20211101203929.954622-21-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211101203929.954622-21-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:28PM +0000, Matthew Wilcox (Oracle) wrote: > If we're punching a hole in a multi-page folio, we need to remove the > per-folio iomap data as the folio is about to be split and each page will > need its own. If a dirty folio is only partially-uptodate, the iomap > data contains the information about which blocks cannot be written back, > so assert that a dirty folio is fully uptodate. > > Signed-off-by: Matthew Wilcox (Oracle) Looks good, Reviewed-by: Christoph Hellwig