Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3909749pxt; Tue, 10 Aug 2021 14:31:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvc+0Vl3b1EbTuxF/UM4DQBSO6d9VcP078qEgErKsriAwA1hbx8d9UZtl/hpjDBVTKLDqA X-Received: by 2002:a17:906:7716:: with SMTP id q22mr492052ejm.457.1628631068961; Tue, 10 Aug 2021 14:31:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628631068; cv=none; d=google.com; s=arc-20160816; b=BcI0O1e8E+vcaDvV95g9N+AyT7FMQLD055EivO4D/JRFMIFhQEBWIcDlWA+xKVTLiC 0/jQfeOu2Ekmb6HAXo9O86ZYWEXOLwmfCRrS4yAuqUfNilBPnLbYGAHmCYf5lK5VK9XG VMrVk4bh+tudeUBcyZHv5uTDoSQBGfbn2p3kD9KGkMtMBDEYkkxz1qdPKsbuVgNfLRYq 5llxxSQtrsoNSEU+jIzeN7k3Txkl7E1Gibv55M3+DG/xaXtJ7vInh4YMqe/WLaOlCWoz hxXgMeIUCCQUXZhEcBLsotr/c8qv2p7AIAAFsGMJtjv6p0d/qqIzjX9oi9YDjiylq9FS ETNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=KtDCw+d4IhOJljfaZEvvTjuvZfe2egAuzIik9dCQHdQ=; b=aa0JOp+GEdZ58Zz8DTseM3NBNVsl3cHHhllhF/4jiGDYzmY7Yt6rFtISOM+ybFQ0gB Gq4H/nYfZma6cFsd5kfNFdYtRd7znUuYJClCuAbJPd4XJAviqXtlCZcY/Pt62SG2qSoK bII1ytL+ZEwZU6jNlJZObQXoKprA9sonwoQdU0tJlLAjmpycDaMDFYy7ihcMRHcAdhL5 8lI5Jkl+WUf7qOHosr/iBdNrrNOyMMXE7WjRUwd+n9/3q9BuW29YVkdYggEDLkuEX5Da h6A8wFmYDh5XkrK/+JdM1RfSFwz7tQ8qXut1KgkuSR1da6MPeIfKgMx6i8iu2wCbWzcd RZ7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YZpsw5dx; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hy7si8841172ejc.249.2021.08.10.14.30.43; Tue, 10 Aug 2021 14:31:08 -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=@redhat.com header.s=mimecast20190719 header.b=YZpsw5dx; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234454AbhHJV0j (ORCPT + 99 others); Tue, 10 Aug 2021 17:26:39 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:53194 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233962AbhHJV0i (ORCPT ); Tue, 10 Aug 2021 17:26:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628630775; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=KtDCw+d4IhOJljfaZEvvTjuvZfe2egAuzIik9dCQHdQ=; b=YZpsw5dx2MnqPcdRVX5j/KM69fUkFVp9o0SdOcvje2TYwfELl1PFFi4kXYyLXKraZWhzqS CjqaUTVcPyur+R5HLxVc7r/d0+R0BNI3KeUqvwbknXW0kN5dzxq+xis+V6aWR7I936kfM0 ggvHOK1P30IGqmlsxnwjBBBxZTUKYbU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-551-FOPU7ubIPxiteoG95Z7Mug-1; Tue, 10 Aug 2021 17:26:14 -0400 X-MC-Unique: FOPU7ubIPxiteoG95Z7Mug-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EBBCA101C8A0; Tue, 10 Aug 2021 21:26:12 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.22.32.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id D886E4536; Tue, 10 Aug 2021 21:26:11 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20210715033704.692967-77-willy@infradead.org> References: <20210715033704.692967-77-willy@infradead.org> <20210715033704.692967-1-willy@infradead.org> To: "Matthew Wilcox (Oracle)" Cc: dhowells@redhat.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH v14 076/138] mm/writeback: Add folio_redirty_for_writepage() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1813387.1628630770.1@warthog.procyon.org.uk> Date: Tue, 10 Aug 2021 22:26:11 +0100 Message-ID: <1813388.1628630771@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthew Wilcox (Oracle) wrote: > Reimplement redirty_page_for_writepage() as a wrapper around > folio_redirty_for_writepage(). Account the number of pages in the > folio, add kernel-doc and move the prototype to writeback.h. > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Reviewed-by: David Howells