From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 421FDC7EE23 for ; Mon, 5 Jun 2023 16:51:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231610AbjFEQvT (ORCPT ); Mon, 5 Jun 2023 12:51:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234964AbjFEQur (ORCPT ); Mon, 5 Jun 2023 12:50:47 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BEAA106 for ; Mon, 5 Jun 2023 09:50:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=dDFNBT6dk3Yum/aueh1v8IKbB6wtwNZVtVYiiNiWPFo=; b=ajYCn9CXjbYAeVcbDOwXA7qBdc u7Vt9kAmaC0s5vU6oO6ODdAtVwn3vugYMT4iYKUWTl8mk41ygxR5VBHR44ShG28XZj+rKWcGeqw8c i0hIO74RYJ5QLO4BM7E3PbFK9FTcGHF45a68XKb/vKj9IAOVsuS65zbKGXDuZc/k7xE5KPIyYkDLE yuc/0wT+gGwcQX1ofDGeQRJfZxHcf/jq4UwLgzw6jYiHEPLoBAFSLAPf9Gnhf3qo3CaCIWOtcZ7rf 8NV6QffFWsMpS2hmd3ffOrULv3sr30E13M77sTNDIZvrQo5tn2yrbj+Q729PR7frVU7nsJ+r/hm5b 84o6itKQ==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1q6DPa-00CCap-DP; Mon, 05 Jun 2023 16:50:30 +0000 From: "Matthew Wilcox (Oracle)" To: Richard Weinberger Cc: "Matthew Wilcox (Oracle)" , linux-mtd@lists.infradead.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 0/4] ubifs: Convert writeback to use folios Date: Mon, 5 Jun 2023 17:50:25 +0100 Message-Id: <20230605165029.2908304-1-willy@infradead.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org There are a few transitions going on in the VFS right now. One is that we're deprecating and removing ->writepage; all filesystems need to be converted to ->writepages. The other is that we're switching filesystems from using pages to folios so they can support large folios and we can shrink the size of memmap. This completely untested series updates ubifs to the current APIs. You might be able to improve things; for example, it's common for filesystems to batch up the results of the writepage call and submit them at the end of the writepages method. But that would be suitable for a later patchset. Matthew Wilcox (Oracle) (4): ubifs: Convert from writepage to writepages ubifs: Convert ubifs_writepage to use a folio ubifs: Use a folio in do_truncation() ubifs: Convert do_writepage() to take a folio fs/ubifs/file.c | 120 ++++++++++++++++++++++++++---------------------- 1 file changed, 64 insertions(+), 56 deletions(-) -- 2.39.2