Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp722933pxt; Thu, 12 Aug 2021 08:13:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5s5BJGQxdEmpL4hD0PplLotxhVSfSQX89SoT+l9PFTLwLUF6JxCqnmKlGKsb9ugaHcehM X-Received: by 2002:a17:906:3a88:: with SMTP id y8mr4259694ejd.223.1628781223671; Thu, 12 Aug 2021 08:13:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628781223; cv=none; d=google.com; s=arc-20160816; b=dwuXski86T5CXwshIwm64jmWx12puAHOtWxIyZtEKMydmV6Hxe6qZPdQSTxZ8TBTgd hll5BV0RSATiEzP/T5VBTvt1PvPrYfYVg9S25FvlgE4EcsE+h27FC098sg6Yr8J3OWLX J9SyK4JucF4kuAKAPX/Y0z6b3RvOzfAJokq9N3VGjytBnU/8a0uvZwNRWgXeYJm2eq7m VKDn/GTG2lFS6sGfFMZakXF68a3osnj586Gqdez+ZEO553Cmck5UKBx4FvNBXkl6XGvy ZFvHbFartB5Nb7aeezy7u/fGqbkx+rX0uoIw9omm5sHkW4xz8hxwBjzm66wSVzJDb3Vt vp2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-signature; bh=ltG9XPJTgXiAW64Yau60CHRwOU6O3fnGzP+EX5Voqfk=; b=icNsprK6mGAclz5vkM8W1Hge0EEGe2x0XbRDjjC8dcHxLIkEpGxAaLxd9/Ib3wqW+U UvA14ZUp3b/7E3jeSu8ug+rfS8ornwBldcPydZybRcKb7WY4CAd3Fn1vbt3PpB8YJzVB 9Bv0VD4f0maV1YNcfoitJ3ZkVFLJGkJvkz+Uc0m7c2K8IqpIa/zDp7B09J+16dmd5d6P v6eF0gE0rWiA5Q6TZ+RU5CoR4EP3NDOiOMuVj/QlmuiR6dvoSJoLvhM6yYLqpfUuQci0 CKlDu1wUMeillS1e/lMipAhf4g1HFWpV5B3JA9p/KjpQ7cvA52AXebES4+aZfMWVIsRL 8t/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=ozwUzeBE; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 f14si2959703edy.328.2021.08.12.08.13.15; Thu, 12 Aug 2021 08:13:43 -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=@suse.cz header.s=susede2_rsa header.b=ozwUzeBE; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519; 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 S237907AbhHLOLr (ORCPT + 99 others); Thu, 12 Aug 2021 10:11:47 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:34398 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236028AbhHLOLq (ORCPT ); Thu, 12 Aug 2021 10:11:46 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 5905B1FF47; Thu, 12 Aug 2021 14:11:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1628777480; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ltG9XPJTgXiAW64Yau60CHRwOU6O3fnGzP+EX5Voqfk=; b=ozwUzeBE3l7fsgaGC33rWU3XVDMUss29nM4ATaect5WZF8zBa+Wwq7Q7O+iitx+zIMYGE+ LNAqO2PEQqzit9I2z0RIBjqrGdaSXffcGufjO0obyB8LLsZymeU4Cnnx0ScFJVvLRXL0Cs VAjrSY40522Hu7QXzs+GZcwYnskwOQg= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1628777480; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ltG9XPJTgXiAW64Yau60CHRwOU6O3fnGzP+EX5Voqfk=; b=sRXs1GKSGD6V2LMvRw105RYLEhIXcS02ZAvmjVaHJHZaorfkY8SMNk97ZDQVjnSKDU5ds5 go0G+lyqKOa3cbDA== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 3B55E13A90; Thu, 12 Aug 2021 14:11:20 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id S6FEDQgsFWFzXwAAGKfGzw (envelope-from ); Thu, 12 Aug 2021 14:11:20 +0000 Subject: Re: [PATCH v14 067/138] mm/writeback: Add folio_start_writeback() To: "Matthew Wilcox (Oracle)" , linux-kernel@vger.kernel.org Cc: linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig References: <20210715033704.692967-1-willy@infradead.org> <20210715033704.692967-68-willy@infradead.org> From: Vlastimil Babka Message-ID: <9efcf51a-0375-6942-aadb-a83699eca456@suse.cz> Date: Thu, 12 Aug 2021 16:11:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210715033704.692967-68-willy@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/15/21 5:35 AM, 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 Acked-by: Vlastimil Babka