Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5329842pxv; Wed, 21 Jul 2021 02:50:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0gqOjnOdzhAuMYRgzkS49elejI6KPg5rONGfGD4/1G9l1xo4YyhTzway+08ZyjOv8H2AD X-Received: by 2002:a17:907:62a7:: with SMTP id nd39mr37799824ejc.502.1626861003481; Wed, 21 Jul 2021 02:50:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626861003; cv=none; d=google.com; s=arc-20160816; b=lCwE0oO/YSyLnyfvfD03AdXZ5zxEPVT/Hxxp3u19oSn0yMlh1fAOfoiqQ/7D9ynS4Z qRdjAwPaXGxTZ3dqlI8jcCTt0iA386njlssdVAzr1tf1Cje1y/Xv9sB05RR6aDYseTY2 dE3BRWs8QAqb9Y4h7az0DQNOjPJoWcosL08ge8OOoYeCxOFULHrPFt6+gE0wbDlK193d ir19cW9b0qHIM+cMb8bZ6dio14sSgSCJ/s33YJRGbPsc+8l3N9T/wymt3jwsZQEffen5 vmz0+NsnEWUtJry1hez/l4iZ5EKbD9/yw6LKA1laMAlJje9dkpWTiZ5RN85qiqcRkEgn K6lA== 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=foAeNZ5EctkWZf+SnCis7LqlfpOPbJ+rEhx0cQ/y1vI=; b=G8Cf/zrAZ5isSzi8xnBEodHUsDA4hwouBhxhoEIY6iFYwORGoSdPMVhJePkhl/5ZkY U6UYiaqIfzuFpi6qX12+ZxlSwXrC3gUKZkdPHTpszzzL6NPKuPXYDrto9Z/VrP9rLFTF vPTF3iTdqS7R9bbEexvXNsm8fM/VJPtggKqOW9y2W44s6OAKzP/QB5CaUgdDOt1LLfDC 3fiSurozTXvFIdJ0UljIAzd3omIhw0r6NCtoX9UtSrL9KAWUkmcUqe7xgdEh4BTZEZQV narRFMQPjNaEF9Esvu0DrFjAIYzjQX/9F5RopNbaia1oa15zzdFl7BEqkoB/WycOeytJ C7aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uAe1e8+k; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si27756041ejk.138.2021.07.21.02.49.40; Wed, 21 Jul 2021 02:50:03 -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=@kernel.org header.s=k20201202 header.b=uAe1e8+k; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237548AbhGUJG5 (ORCPT + 99 others); Wed, 21 Jul 2021 05:06:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:39412 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235712AbhGUJEk (ORCPT ); Wed, 21 Jul 2021 05:04:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C6C5760BD3; Wed, 21 Jul 2021 09:44:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626860676; bh=5i/qmH4alWxdVkgDs3KPdq+gTt6IvLSVBOVfIwtm4gk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uAe1e8+kTwckG36+6Jis6ef/X+PQSooe63JLr55JIdETVNpOBpMbajyKdqt+JrIbt Y8WtR3oFxZeIiY9X3QewX/BTAzyqqWAxXjcjkBEsx8d2a7fwgmqt87sO52LlXsTfqW 03x8r1EHfR1AZh33SdEd3wBWiVjH2U9K8S8e7wY6fvGmZXKt+zLovWvKLtaFD7gKEo bWtRRC4N1Aciu3Cw48BULTU2qHnkOiuTeUxyGHg/fmjSrtLMd3JrSLwZIwtXhX15HU nAxle0NVtQ5izaPSILmkhqy+0CjRZVq+c6Xzvd9IGECf/X2vbVNsAO98vGUa8hqlQV 9HqiUnPXy7Ccg== Date: Wed, 21 Jul 2021 12:44:29 +0300 From: Mike Rapoport To: "Matthew Wilcox (Oracle)" Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Vlastimil Babka , William Kucharski , Christoph Hellwig , "Kirill A . Shutemov" Subject: Re: [PATCH v14 031/138] fs/netfs: Add folio fscache functions Message-ID: References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-32-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210715033704.692967-32-willy@infradead.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 15, 2021 at 04:35:17AM +0100, Matthew Wilcox (Oracle) wrote: > Match the page writeback functions by adding > folio_start_fscache(), folio_end_fscache(), folio_wait_fscache() and > folio_wait_fscache_killable(). Remove set_page_private_2(). Also rewrite > the kernel-doc to describe when to use the function rather than what the > function does, and include the kernel-doc in the appropriate rst file. > Saves 31 bytes of text in netfs_rreq_unlock() due to set_page_fscache() > calling page_folio() once instead of three times. > > Signed-off-by: Matthew Wilcox (Oracle) > Acked-by: Vlastimil Babka > Reviewed-by: William Kucharski > Reviewed-by: Christoph Hellwig > Acked-by: Kirill A. Shutemov > --- > Documentation/filesystems/netfs_library.rst | 2 + > include/linux/netfs.h | 75 +++++++++++++-------- > include/linux/pagemap.h | 16 ----- > 3 files changed, 50 insertions(+), 43 deletions(-) Acked-by: Mike Rapoport