From patchwork Sat Nov 4 19:04:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaegeuk Kim X-Patchwork-Id: 13445577 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 lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2A7E3C4332F for ; Sat, 4 Nov 2023 19:04:24 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1qzLwT-0006tV-D0; Sat, 04 Nov 2023 19:04:22 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qzLwR-0006tL-C7 for linux-f2fs-devel@lists.sourceforge.net; Sat, 04 Nov 2023 19:04:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jEQaeb0f0ki5ShEc2QgtyJC3ciB9eBv77EJC8QMG18s=; b=Ln/QjhZq2AdNFy7Vp6oVDY4q5v K1SKCi/JMZ07SdNJ4KkxOCZedQ+A0mCKuJf3gGp03e7Pdz69riUwNMDT5FTtVC2+LsJ1o+GOd/MoV MCAr/nJsumJpo6oksu1zl8BNBpcopt5p2Oncq6+s5TQWsBYp/xcQIbigMVOvCaAOdpHw=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Message-ID:Subject:Cc:To:From:Date:Sender: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=jEQaeb0f0ki5ShEc2QgtyJC3ciB9eBv77EJC8QMG18s=; b=X nA/m4NUh0f8VTYF6P/dFdog+tDiTGbGuRJ8K/Ah3v5MIlV/JTiavb9SNkw8z5Wtz4atZwebdqpPAB ktW57O03H5Qz+xKml1vuLG9VZTjgWLeCI6gc1NvOejnTEbBtEq9wg1GS1OkamvSjKjGwNq79KeREl nz2HzXer7v312P3U=; Received: from ams.source.kernel.org ([145.40.68.75]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1qzLwQ-008jKt-25 for linux-f2fs-devel@lists.sourceforge.net; Sat, 04 Nov 2023 19:04:19 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id B1DF8B80023; Sat, 4 Nov 2023 19:04:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EC7BC433C7; Sat, 4 Nov 2023 19:04:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699124650; bh=CJ5CvH2XKc3qIHFJg91oPL9wmqC3HtPop6Zvp2wfKU4=; h=Date:From:To:Cc:Subject:From; b=SjvuLTLkbH2wTuPAZ4n3+hJ6FNhKX5CDC5YQ/hSwwp0q+LLQMrqVkzmCX2C4RvSqY 4zPUeJd+Hke9yTWBTu8avItJKnk00ciQxFiJtlOXTAVrr8zHsvo2PxFt2OQXtPE5DU lEvc/9JEV8tWrN/zly7kKhcZQyHsWw+VfRtGLRd1wfXdrzv83SoRouAyNYRX+8T159 UjPpo9fZ3W6Q6Wfzlio5mZvODJtEc0qC00cHDQ/+ZyATtqNs1gGMa1pfmY3p3wlQjI KgtH+En8K4LpoqDTz8J+IAeEnY8KPghWbdxMQ7lF1otjJSKvhSANTMm5DNwsNyQsxy AbjpCksZYvh2g== Date: Sat, 4 Nov 2023 12:04:08 -0700 From: Jaegeuk Kim To: Linus Torvalds Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Headers-End: 1qzLwQ-008jKt-25 Subject: [f2fs-dev] [GIT PULL] f2fs update for 6.7 X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux Kernel Mailing List , Linux F2FS Dev Mailing List Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net Hi Linus, Could you please consider this pull reuqest? Thank you! The following changes since commit 3669558bdf354cd352be955ef2764cde6a9bf5ec: Merge tag 'for-6.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (2023-09-12 11:28:00 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-6.7-rc1 for you to fetch changes up to 1e7bef5f90ed69d903768d78369f251b77e5d2f5: f2fs: finish previous checkpoints before returning from remount (2023-10-22 06:42:02 -0700) ---------------------------------------------------------------- f2fs update for 6.7-rc1 In this cycle, we introduce a bigger page size support by changing the internal f2fs's block size aligned to the page size. We also continue to improve zoned block device support regarding the power off recovery. As usual, there are some bug fixes regarding the error handling routines in compression and ioctl. Enhancement: - Support Block Size == Page Size - let f2fs_precache_extents() traverses in file range - stop iterating f2fs_map_block if hole exists - preload extent_cache for POSIX_FADV_WILLNEED - compress: fix to avoid fragment w/ OPU during f2fs_ioc_compress_file() Bug fix: - do not return EFSCORRUPTED, but try to run online repair - finish previous checkpoints before returning from remount - fix error handling of __get_node_page and __f2fs_build_free_nids - clean up zones when not successfully unmounted - fix to initialize map.m_pblk in f2fs_precache_extents() - fix to drop meta_inode's page cache in f2fs_put_super() - set the default compress_level on ioctl - fix to avoid use-after-free on dic - fix to avoid redundant compress extension - do sanity check on cluster when CONFIG_F2FS_CHECK_FS is on - fix deadloop in f2fs_write_cache_pages() ---------------------------------------------------------------- Chao Yu (8): f2fs: compress: fix deadloop in f2fs_write_cache_pages() f2fs: compress: fix to avoid use-after-free on dic f2fs: compress: do sanity check on cluster when CONFIG_F2FS_CHECK_FS is on f2fs: compress: fix to avoid redundant compress extension f2fs: fix to drop meta_inode's page cache in f2fs_put_super() f2fs: compress: fix to avoid fragment w/ OPU during f2fs_ioc_compress_file() f2fs: fix to initialize map.m_pblk in f2fs_precache_extents() f2fs: let f2fs_precache_extents() traverses in file range Daeho Jeong (2): f2fs: clean up zones when not successfully unmounted f2fs: finish previous checkpoints before returning from remount Daniel Rosenberg (1): f2fs: Support Block Size == Page Size Jaegeuk Kim (5): f2fs: split initial and dynamic conditions for extent_cache f2fs: set the default compress_level on ioctl f2fs: preload extent_cache for POSIX_FADV_WILLNEED f2fs: stop iterating f2fs_map_block if hole exists f2fs: do not return EFSCORRUPTED, but try to run online repair KaiLong Wang (1): f2fs: Clean up errors in segment.h Su Hui (1): f2fs: avoid format-overflow warning Zhiguo Niu (2): f2fs: fix error path of __f2fs_build_free_nids f2fs: fix error handling of __get_node_page fs/f2fs/compress.c | 63 +++++++++++++++++-------------- fs/f2fs/data.c | 35 ++++++++++++++---- fs/f2fs/extent_cache.c | 53 +++++++++++--------------- fs/f2fs/file.c | 17 ++++++++- fs/f2fs/inode.c | 2 +- fs/f2fs/node.c | 20 +++++++--- fs/f2fs/segment.c | 92 ++++++++++++++++++++++++++++------------------ fs/f2fs/segment.h | 4 +- fs/f2fs/super.c | 98 ++++++++++++++++++++++++++++++++++--------------- fs/f2fs/xattr.c | 20 ++++++---- include/linux/f2fs_fs.h | 70 +++++++++++++++++++++-------------- 11 files changed, 296 insertions(+), 178 deletions(-)