From patchwork Thu Mar 28 16:34:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Howells X-Patchwork-Id: 13609084 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16D95CD11DD for ; Thu, 28 Mar 2024 16:37:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9A7C76B00B6; Thu, 28 Mar 2024 12:37:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9588E6B00B7; Thu, 28 Mar 2024 12:37:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 7F93F6B00B8; Thu, 28 Mar 2024 12:37:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 5DE4B6B00B6 for ; Thu, 28 Mar 2024 12:37:53 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 219CCA15B6 for ; Thu, 28 Mar 2024 16:37:53 +0000 (UTC) X-FDA: 81947004426.18.29702FD Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by imf25.hostedemail.com (Postfix) with ESMTP id 5E8D1A002F for ; Thu, 28 Mar 2024 16:37:51 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=DJBmMCso; spf=pass (imf25.hostedemail.com: domain of dhowells@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1711643871; a=rsa-sha256; cv=none; b=AZkBaVyv/JtHwZzRmGZKEp+a/RwPeoICGJpVkkLDIkNMt6kSLbcoxWznb34Y///gnXSNCd agFiNY6Nk7FSRcsNjw4+r+zC1KAAfl0d2FETEfWW2JqiTgnrIfZ6K6MOnBLPzzYYLDiaYT jifR8YDcbISfRmtDzkjghCFyQYXAEHw= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=DJBmMCso; spf=pass (imf25.hostedemail.com: domain of dhowells@redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1711643871; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ioxjNilBuiqs0KYw5lDY5ynz4cuTib2XAYQ79MimHtU=; b=X3f5V4bFI0FzjYMO4mUx6OjUKFMeokp03lWQb8r9Qy9UN7HDzcNTcPvKCIWCA+gninjw63 McmBTq64Gx3A9ONnRJiOw+sZF915ShJ+sqgt3WUs70ddG0MI1lY5z9XoRgF6RfrZC5Ixca wHGvjBHxc/t0oCOi9MdOKQ6LuUUJoJY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711643870; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ioxjNilBuiqs0KYw5lDY5ynz4cuTib2XAYQ79MimHtU=; b=DJBmMCsotOVGV21p5Fy8JPyCahTitkEePdZ9Fm56vT3yTf0szqrMBxes6YQN2W9bZJGToC r9W4Mo45tjKcceVxgg8BoYhD4Wl4aWxvv3H99qgWFaG9twQpfZcWOW0uRas+gOG/qg+e/W /TyVtMEi1apFFXKrSaJlQ7M+R+OksNs= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-615-PNBhpr21Omuq3Za9H6GKVg-1; Thu, 28 Mar 2024 12:37:47 -0400 X-MC-Unique: PNBhpr21Omuq3Za9H6GKVg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EED79282477E; Thu, 28 Mar 2024 16:37:45 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.146]) by smtp.corp.redhat.com (Postfix) with ESMTP id EE4B41121312; Thu, 28 Mar 2024 16:37:42 +0000 (UTC) From: David Howells To: Christian Brauner , Jeff Layton , Gao Xiang , Dominique Martinet Cc: David Howells , Matthew Wilcox , Steve French , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Eric Van Hensbergen , Ilya Dryomov , netfs@lists.linux.dev, linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig Subject: [PATCH 15/26] mm: Export writeback_iter() Date: Thu, 28 Mar 2024 16:34:07 +0000 Message-ID: <20240328163424.2781320-16-dhowells@redhat.com> In-Reply-To: <20240328163424.2781320-1-dhowells@redhat.com> References: <20240328163424.2781320-1-dhowells@redhat.com> MIME-Version: 1.0 X-Scanned-By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h6bWgpX1e5JfKJmxXoRlFd06PnhtamZcuG3HVO8p8eVtRpz 3yayx/7M JVWGwA3ExiaKs2LzyA9G92OhkY0nF+w0CB4ixXC3YQSILdphw1z6D8Agsn5kCKDRVUjZWL61A5DL4rcHAc7J/WlG7Bq87KXobq8E4lmQR5EB9dUCdwamEs7yd9AnbFHY0FDbLtXMKeWiBMMWvqrM2/waYBL6Pu15NoLy2rjePiEqoqHREYX++CxlTYItqqApjgrYXpZBBbk2llV41GqykOsUGyQEH2lG75Dmh78yrZRNXhApyH5On/tJaAz9mr0Z+MHAt1mQZu33Cmb94tkfH6epiE0hH+5Pe/BrynH8SBM1qCB1KVlMXTD0Uacdbhl+3LfHWw9M03+l+63byM8sZmtXzNg== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Export writeback_iter() so that it can be used by netfslib as a module. Signed-off-by: David Howells cc: Matthew Wilcox (Oracle) cc: Christoph Hellwig cc: linux-mm@kvack.org --- mm/page-writeback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 3e19b87049db..9df160a1cf9e 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -2546,6 +2546,7 @@ struct folio *writeback_iter(struct address_space *mapping, folio_batch_release(&wbc->fbatch); return NULL; } +EXPORT_SYMBOL(writeback_iter); /** * write_cache_pages - walk the list of dirty pages of the given address space and write all of them.