From patchwork Tue Apr 30 14:00:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Howells X-Patchwork-Id: 13649084 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 2156CC10F16 for ; Tue, 30 Apr 2024 14:02:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A2C6D6B00B0; Tue, 30 Apr 2024 10:02:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 9DD206B00B1; Tue, 30 Apr 2024 10:02:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 87D0D6B00B2; Tue, 30 Apr 2024 10:02:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 6907E6B00B0 for ; Tue, 30 Apr 2024 10:02:14 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id DC7F31C06BF for ; Tue, 30 Apr 2024 14:02:13 +0000 (UTC) X-FDA: 82066362546.27.55AB856 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf07.hostedemail.com (Postfix) with ESMTP id 3C3BE40033 for ; Tue, 30 Apr 2024 14:02:12 +0000 (UTC) Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=WRmTiO5X; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf07.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1714485732; 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=kjFRfxxSIhn/sZySlzA+YPg8ujVk0zbXsyNAbtLG88o=; b=IZCt217/NiDm+LHJz7IPaXNeOJxfA6EsANhvs3xXeBb/S4q1kl2Ghaa4yloxVZOvaZ7xLb G0DTcljm7QT3wAZ+1qSOqSOqEZrqHo5ElXa3qm5nGokv1JoIHYEDRKu61XJxqQoaW4vzS0 2fVwfm+tB98BpvUXUJOWyJTaDwclOIE= ARC-Authentication-Results: i=1; imf07.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=WRmTiO5X; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf07.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1714485732; a=rsa-sha256; cv=none; b=cwDvHnXZur1PupKd64jp1xz3R8DbDa7YE8vwL70/11lVQQBbdphl8nkDfip1mivO5SpWHH JMbklSQbMQAhEPTUfEbab6b3XOqbc5ZLIqp70YgGkXDQ14ufqjLYoqVbrAJB4Logn2dlKw aHnuvx+sLrxRaGN1qKWsIhpBdvh6NxI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714485731; 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=kjFRfxxSIhn/sZySlzA+YPg8ujVk0zbXsyNAbtLG88o=; b=WRmTiO5XOrVbdJe3hyVSWzSmUbxUlvxgPBPPyrDFn55MD/gZsit8rlBNcFUaLj+T56GbvX x/tmeX0bnGp9JaqwcsSceqbN0sCTqgJuRqWnDK0c5dYMF9dvVm2H7P6X+n4jAOzJPpm5lz h7ODe2oCiyKkFW60wLnt2Z2ImyEblbc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-78-ESWFmT24OQqLiwHsx02-fA-1; Tue, 30 Apr 2024 10:02:03 -0400 X-MC-Unique: ESWFmT24OQqLiwHsx02-fA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (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 9306E834FBF; Tue, 30 Apr 2024 14:01:55 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id CD5441C0654E; Tue, 30 Apr 2024 14:01:48 +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 v2 12/22] mm: Export writeback_iter() Date: Tue, 30 Apr 2024 15:00:43 +0100 Message-ID: <20240430140056.261997-13-dhowells@redhat.com> In-Reply-To: <20240430140056.261997-1-dhowells@redhat.com> References: <20240430140056.261997-1-dhowells@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 X-Stat-Signature: xhirmooyj58awhzosra3k5ahqqzy6w6g X-Rspamd-Queue-Id: 3C3BE40033 X-Rspam-User: X-Rspamd-Server: rspam12 X-HE-Tag: 1714485732-724812 X-HE-Meta: U2FsdGVkX1/dSDsqD9rOewTEqdGrptpGNPVoCSU9sDNhLdAijdTJBVmn8sFZFDS+s+oNTnRFXj4Na0ci+GH9zusn0erg0L4PYblexqE66hfQkHp4xRIO1JyL01DrzRJm/hmOgauyCtInyMnppOx9vCkU36HE0ot4yjGvckyjztITCjK9vfUB4VDkaeQv8i2L47N7AO96Eo7XvLdDbJysHt5LjkXqfTZ9xuAFNdUdQ0jfteWNyJO/rinOoCnWiTH7x42E3K1ZE3SBB3vUD4nhPxrfm1kz8gHjvHrn3+fUCv/wO8dfbq4rkoPZ44d9UGAh59yPI+KdUh511RctxDCnUOwJMWRCJ3rqzrBtQn1mDROZvwOPOntw7MMrt56SLcdY1WT+ClFWmGFYAvWUeMKiyiFglnScFd3WfMcS/H5g0gQVvnR1CyJ46tza7sSLkUXpS8/m74eEeCbRAcbL3qmQVK0c5Y0xnIf+5yvCCHo4N13QCYxUaUo4aOwJ6kFY1zxGYrWhJS94B+65jss5pOKXlassHKCMlbWjGCS54ku6WiR++hEy4cvPjiW8K8XBk59WGqE/hJ1Uw2OOEHmJx6eKHFGsgaPqN/M1cJJ8q1SUAiwPmRjOu5cAEU1OKJvEfLH0kdFDnUtmzpeNoA7p2oFiIuEKwgbuTrzJoNcKWZfHswT04LRw+xmUGR70jgHq62QyemPK+gF9GtZaUJ57wQM75t4Xzfs0CkBqI6CR//KsfAfslR+iijRziQk0UrzKGMD5qwYeoUlXNxG1ZifSB2aTKCq3qRCHPWwywlfumPxRiqR/1GORtDP4RPfLLjj4b4W87eO6HFM5C6M+RirbmVWCFF6kECAWFZ5rFaeZmNgJlK8ozIj8UMc/ft72wlpa8LICRA5IL1J/AGfZMZF91GwuWabLMwXxrDia9sGh0veFczotsswvZx9m2lkqHhinmwId 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 Reviewed-by: Jeff Layton cc: Matthew Wilcox (Oracle) cc: Christoph Hellwig cc: linux-mm@kvack.org --- Notes: Changes ======= ver #2) - Mark the symbol _GPL. mm/page-writeback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 3e19b87049db..06fc89d981e8 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_GPL(writeback_iter); /** * write_cache_pages - walk the list of dirty pages of the given address space and write all of them.