Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp914895pxv; Thu, 15 Jul 2021 19:51:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwK57W7odFg0D4Q444b70k66GIZJD7oaJjq2cdiuhGJu821rEt5zPFTbyGYV2AYfoqj7x8n X-Received: by 2002:a02:ccad:: with SMTP id t13mr6768214jap.29.1626403860981; Thu, 15 Jul 2021 19:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626403860; cv=none; d=google.com; s=arc-20160816; b=Qktl39NB/kEtrtHVHqED8LastJFOlgEWaoCOPMFwKoxO0nh6j06P2Fq6Ew5/ZVH6e6 mEsqI/I7msEbG7Cz5HmfB5YsF0gNg+ui6XClOaAaSb7Sxgynmkie2Sk88BaXAsTu1A4p M+Rgwf4LnYA2X4PBLqCCPpETrhi95j8lTTuCtjIWvtNGBykNT/KHiS7K1IpsSui/y9i/ wVx+AKvvbrJa4Jg32bP9XTwAcVaw31LO0wMm/7yJCiESDn6nVbJYcPmCaC0i60XEv5qv 9O919ypCl8vCRfHsq2/RVV2pHEn0MEJ/wc6nOEdYVNWRizSQoCGFd0alvMVm3uf4zCqD qWiQ== 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=gMlvBLObPJT3YmRhs9iQMwy3E2OqoakIoEKCEfOZcX0=; b=Kjc2c7MOc2n1LwosPiz8IyKa3taaeGE6/bqtA1Y1stdTivFczLjRbGaAVFFZGqeWx6 eutigYs+IdGKKLEn9ACxhiY//PW8r5DjcTazBGjScnPRxSYjv+3ud9fWB+wo5XB4BhUd b14A31fJlykUmNYYEkUOTM+5Hx8trEGruZ1HF2eyB7FY41ASWQKnWk5ClGzLP0XO0arM 7ukdo80eqBuP8PBWOZXUl5gEwObDJIDC3kFVJ3YZvm3/U1StGOAS7dbld0BKs32vC8WN f+pHcJPkZ4e4SXkuIuNSmGs3ZZEkXC5G50+/Xz3xZkDO7aHMq+5kytbaz5oHSWDo++my iWCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=vgvSRBZI; 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 t11si9858283jan.92.2021.07.15.19.50.48; Thu, 15 Jul 2021 19:51:00 -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=vgvSRBZI; 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 S233407AbhGPCxC (ORCPT + 99 others); Thu, 15 Jul 2021 22:53:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232046AbhGPCxB (ORCPT ); Thu, 15 Jul 2021 22:53:01 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AE44C06175F; Thu, 15 Jul 2021 19:50:07 -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=gMlvBLObPJT3YmRhs9iQMwy3E2OqoakIoEKCEfOZcX0=; b=vgvSRBZIZXuXoEKicIy49w4iCn wSG58yq2P84KKKFtFY0/rJBrDjJXEJ/r1wBz0F75bdK/ezr9mVRkz5jXDQafYO44tdPl7F5TPcfMa avJEDz5F+SP1qVC4yDW7y79z5eDfliLvSRLuna82d9T75Gej7INWQO7oOsi9lstGyp0ZHtvTUxpAO iI67mJaorxloEa4843ZDLCAFsXc2Jjufz7HhWOdkdLGt+xDLR7g22+YnaZi3Kxjmz7KdkYKTxHqim 4FnfHuKt5zD7+6N6pOFZk/54EZs99VuenWAuh4/uqCzzzijpz9hH31GIw8Q9syQZkQ0PTQgupw+6M MZ/J3tLA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m4Dut-00455o-4q; Fri, 16 Jul 2021 02:49:38 +0000 Date: Fri, 16 Jul 2021 03:49:31 +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 128/138] iomap: Support multi-page folios in invalidatepage Message-ID: References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-129-willy@infradead.org> <20210715221018.GT22357@magnolia> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210715221018.GT22357@magnolia> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 03:10:18PM -0700, Darrick J. Wong wrote: > On Thu, Jul 15, 2021 at 04:36:54AM +0100, Matthew Wilcox (Oracle) wrote: > > If we're punching a hole in a multi-page folio, we need to remove the > > per-page iomap data as the folio is about to be split and each page will > > need its own. This means that writepage can now come across a page with > > no iop allocated, so remove the assertion that there is already one, > > and just create one (with the uptodate bits set) if there isn't one. > > > > Signed-off-by: Matthew Wilcox (Oracle) > > Lol, Andreas already did the bottom half of the change for you. Heh, yes, I copy-and-pasted it from this patch ;-) Thanks for merging it!