From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C8C4E27FB05 for ; Tue, 21 Apr 2026 21:49:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776808156; cv=none; b=qOJg5VEQZZZsQJ9JC1X83ODoV1S1kUwoV7D39bdmeqHPjlc8vqIeshrrO+d9vGzQvqD6a88ED8I/CQXin/PmxJ9PqNoOr8xYjeKTANuFyok4BACfdNAXIMQYhOT9QSORwRUbRacmZ61sDmbPZApu0td6jaxpTI89udq4hrdiNBU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776808156; c=relaxed/simple; bh=Lff42r7XhGDr0FLU9Y4QqnMEAZNEmPewvova1hONyow=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=FcEECe69sE5FurctYPqgbRkOTpHncG3rR3XW6Ll1xom/8DyTNm531Q3bnar25ZvVuDHX/Ltk8ic139aWsXxg8Yck1hmbkcMfS83r2mWOMT0obd1ZuxIhZB+mGWkfnNxmD/CHaNdZ+6EN72PULrD08rQunDtn+s+3wwtlMZVN8uc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TSzU6b8q; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TSzU6b8q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49393C2BCB0; Tue, 21 Apr 2026 21:49:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1776808156; bh=Lff42r7XhGDr0FLU9Y4QqnMEAZNEmPewvova1hONyow=; h=Date:From:To:Cc:Subject:From; b=TSzU6b8qIGpGfmBlz5Q8+W2WgZYhFluG4uXu3Ys8/X+bUXtECUD7EMhFGFpFh540/ WJEIRatJzpK0AjQAgtPHInV1sw1eoLhw+D4Jau+plPkeMFG4EFiahS3gwvf9+06FOV LNW+Fu26RyESWElHhPGw+GrxuV3VjFHG/FdxyzOLyUGkPpEaXI8drLrHPaC9rU4Vqu pzd0InjAKIuBo2G6+n5RwJX369lvp3omOmKKiHPNcX2drKK8oHgXNMZ/zLOYXht4F4 6k4CFOvaJpoU26xeIDGe3liiyKNKnwv+kiIFH6bfn1SPGU/8so0iWRZ8CFbTyUFZ2c 0sTBqS5qfuyiA== Date: Tue, 21 Apr 2026 21:49:14 +0000 From: Jaegeuk Kim To: Linus Torvalds Cc: Linux Kernel Mailing List , Linux F2FS Dev Mailing List Subject: [GIT PULL] f2fs update for 7.1-rc1 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Linus, Could you please consider this pull requeset? The following changes since commit e3c33bc767b5512dbfec643a02abf58ce608f3b2: Merge tag 'mm-hotfixes-stable-2026-03-23-17-56' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm (2026-03-24 09:12:45 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git tags/f2fs-for-7.1-rc1 for you to fetch changes up to cb8ff3ead9a3fc43727980be58c7099506f65261: f2fs: add page-order information for large folio reads in iostat (2026-04-18 22:44:42 +0000) ---------------------------------------------------------------- f2fs-for-7.1-rc1 In this round, the changes primarily focus on resolving race conditions, memory safety issues (UAF), and improving the robustness of garbage collection (GC), and folio management. Enhancement: - add page-order information for large folio reads in iostat - add defrag_blocks sysfs node Bug fix: - fix uninitialized kobject put in f2fs_init_sysfs() - disallow setting an extension to both cold and hot - fix node_cnt race between extent node destroy and writeback - fix to preserve previous reserve_{blocks,node} value when remount - fix to freeze GC and discard threads quickly - fix false alarm of lockdep on cp_global_sem lock - fix data loss caused by incorrect use of nat_entry flag - fix to skip empty sections in f2fs_get_victim - fix inline data not being written to disk in writeback path - fix fsck inconsistency caused by FGGC of node block - fix fsck inconsistency caused by incorrect nat_entry flag usage - call f2fs_handle_critical_error() to set cp_error flag - fix fiemap boundary handling when read extent cache is incomplete - fix use-after-free of sbi in f2fs_compress_write_end_io() - fix UAF caused by decrementing sbi->nr_pages[] in f2fs_write_end_io() - fix incorrect file address mapping when inline inode is unwritten - fix incomplete search range in f2fs_get_victim when f2fs_need_rand_seg is enabled - fix to avoid memory leak in f2fs_rename() ---------------------------------------------------------------- Cen Zhang (1): f2fs: add READ_ONCE() for i_blocks in f2fs_update_inode() Chao Yu (6): f2fs: fix to avoid memory leak in f2fs_rename() f2fs: call f2fs_handle_critical_error() to set cp_error flag f2fs: use more generic f2fs_stop_checkpoint() f2fs: fix to do sanity check on dcc->discard_cmd_cnt conditionally f2fs: fix false alarm of lockdep on cp_global_sem lock f2fs: fix to avoid uninit-value access in f2fs_sanity_check_node_footer Daeho Jeong (2): f2fs: fix to skip empty sections in f2fs_get_victim f2fs: fix to freeze GC and discard threads quickly Daniel Lee (1): f2fs: add page-order information for large folio reads in iostat Eric Biggers (1): f2fs: remove unreachable code in f2fs_encrypt_one_page() George Saad (1): f2fs: fix use-after-free of sbi in f2fs_compress_write_end_io() Guangshuo Li (1): f2fs: fix uninitialized kobject put in f2fs_init_sysfs() Jaegeuk Kim (2): f2fs: allow empty mount string for Opt_usr|grp|projjquota f2fs: do not support mmap write for large folio Jianan Huang (1): f2fs: avoid reading already updated pages during GC Yongpeng Yang (16): f2fs: fix incorrect file address mapping when inline inode is unwritten f2fs: fix UAF caused by decrementing sbi->nr_pages[] in f2fs_write_end_io() f2fs: drop unused sbi parameter from f2fs_in_warm_node_list() f2fs: fix incorrect multidevice info in trace_f2fs_map_blocks() f2fs: fix fiemap boundary handling when read extent cache is incomplete f2fs: drop unused ri parameter from truncate_partial_nodes() f2fs: refactor f2fs_move_node_folio function f2fs: refactor node footer flag setting related code f2fs: fix fsck inconsistency caused by incorrect nat_entry flag usage f2fs: fix fsck inconsistency caused by FGGC of node block f2fs: fix inline data not being written to disk in writeback path f2fs: fix data loss caused by incorrect use of nat_entry flag f2fs: invalidate block device page cache on umount f2fs: fix node_cnt race between extent node destroy and writeback f2fs: disallow setting an extension to both cold and hot f2fs: protect extension_list reading with sb_lock in f2fs_sbi_show() Zhiguo Niu (1): f2fs: fix to preserve previous reserve_{blocks,node} value when remount liujinbao1 (2): f2fs:Fix incomplete search range in f2fs_get_victim when f2fs_need_rand_seg is enabled f2fs: Add defrag_blocks sysfs node Documentation/ABI/testing/sysfs-fs-f2fs | 6 ++ fs/f2fs/checkpoint.c | 9 --- fs/f2fs/compress.c | 14 +++- fs/f2fs/data.c | 53 +++++++++------ fs/f2fs/debug.c | 1 + fs/f2fs/extent_cache.c | 17 +++-- fs/f2fs/f2fs.h | 41 ++++++++++-- fs/f2fs/file.c | 15 ++++- fs/f2fs/gc.c | 23 ++++++- fs/f2fs/inline.c | 22 +++++-- fs/f2fs/inode.c | 2 +- fs/f2fs/iostat.c | 38 ++++++++++- fs/f2fs/iostat.h | 4 ++ fs/f2fs/namei.c | 16 +++++ fs/f2fs/node.c | 112 +++++++++++++++++--------------- fs/f2fs/node.h | 23 ++++--- fs/f2fs/segment.c | 20 ++++-- fs/f2fs/super.c | 70 +++++++++++++++----- fs/f2fs/sysfs.c | 27 ++++++-- include/linux/f2fs_fs.h | 3 + include/trace/events/f2fs.h | 21 ++++-- 21 files changed, 386 insertions(+), 151 deletions(-)