Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp3902625pxt; Tue, 10 Aug 2021 14:19:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzS0v8s+L+Q/DA4iPvSUGWeIAc5N/kJcx1NKJbNclktaMcNaCT5Uk+K4futhWa+ExdMfJ3a X-Received: by 2002:a17:906:2755:: with SMTP id a21mr474606ejd.488.1628630344169; Tue, 10 Aug 2021 14:19:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628630344; cv=none; d=google.com; s=arc-20160816; b=j+klJDTn6oOWfHkJabwU+5uQOkt/McWLJ5Ovr5SHXY1kzar3J1/cuEB8qRi7+sB8eA VxXjCHMxKnSoxeHYxOgSjG3SYah6O7TK0fYdp94DLqArTXD/fFnvAWI9rq793lpvKC5Z NYF9AEJI9qk/pTwYXZOF+mYAa0EJfEoraFrisruu5SyyonFXXKw80mRY4q0Wh0wNEdPF M1OQ9zx+GgpJ3chBA2yN05/buiGD+gpUWAodGhGR4z62QG6VIuGIK+r2dHTbO8C8ZIHW QAFSvgAUCE0L0HutfoVZMh49LkJAMCoSaV9A1ypLecTm3d/eCIREswcrH8iux4yn2wTH DMYA== 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=M07184jKAvMxpfzMZ1dKXh+WpGAO8RO24s56vHQzw+s=; b=RzAu0nvX81if1YOwEFkPUOTT5544WH07eiq0DeR6ZjMwJeKpavJrVwcXdJOHOJTFS3 o6g6PG0dEXE/A9ekA4bTB3FEfLUnxjL9/v8gBxzOqEQFzdv2LP3bLj8vcXo3OYE3rQAO 2BA9ynH77Kw2MtObYklPJAEiOaHPB0IsQu4IOe3WB48+9S6F615vO33RnSRJxs0kwOuX pMDeoHD59kbpGFkkGYUv6Hio5XRhjiF2K3tJ/u1AOCcUaXuoWD92Lw0JWF1JV0ppDuNs 0aVoiwSwq8hc5PRLtGn8NDbTM+JLOyc+kOyyelBXTTBXXYaqerYnJzEovFrKPoNghpwV x6Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FabLCabP; 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 hr12si24652726ejc.464.2021.08.10.14.18.41; Tue, 10 Aug 2021 14:19:04 -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=FabLCabP; 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 S233962AbhHJVR2 (ORCPT + 99 others); Tue, 10 Aug 2021 17:17:28 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:51256 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232739AbhHJVR1 (ORCPT ); Tue, 10 Aug 2021 17:17:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628630224; 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=M07184jKAvMxpfzMZ1dKXh+WpGAO8RO24s56vHQzw+s=; b=FabLCabPC3jdzHwrvOpe+0FQ1ALzf0RkAOca8K1ZHZskItg9Q1iV/WAgCYLKgOpFJDEquk apEsvDUPIkJkthX8vyW3UWfZtsV/jCPVGBKvYkocKD/Ptu0oQOQDa510x3kZCXLl0Wp9p/ l5LN8a4RqAekvsq+6SxPE7JVYy4LBks= 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-434-7po_AAuOPrmO7ZYwl-BnwA-1; Tue, 10 Aug 2021 17:17:03 -0400 X-MC-Unique: 7po_AAuOPrmO7ZYwl-BnwA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 27503593C5; Tue, 10 Aug 2021 21:17:02 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.22.32.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 042E85D9C6; Tue, 10 Aug 2021 21:17:00 +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-68-willy@infradead.org> References: <20210715033704.692967-68-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 067/138] mm/writeback: Add folio_start_writeback() MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1812884.1628630220.1@warthog.procyon.org.uk> Date: Tue, 10 Aug 2021 22:17:00 +0100 Message-ID: <1812885.1628630220@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Matthew Wilcox (Oracle) wrote: > Rename set_page_writeback() to folio_start_writeback() to match > folio_end_writeback(). Do not bother with wrappers that return void; > callers are perfectly capable of ignoring return values. > > Add wrappers for set_page_writeback(), set_page_writeback_keepwrite() and > test_set_page_writeback() for compatibililty with existing filesystems. > The main advantage of this patch is getting the statistics right, > although it does eliminate a couple of calls to compound_head(). > > Signed-off-by: Matthew Wilcox (Oracle) > Reviewed-by: Christoph Hellwig Reviewed-by: David Howells