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 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 092E6F94CB3 for ; Tue, 21 Apr 2026 21:49:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:MIME-Version:Message-ID:To:Date:Sender: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=34RB91Uj1aj/r4Y5rwvslvRo3sT0mkgkPuZD9zL4vVo=; b=ktsGLQI5PisBxhY9UgZG6YAYii nDDOeu8kanC+kGBp6wmh+FXGlWjDLrBO+wMBzeGEhILMp47uWoN9dW07dDPljKYb2xjgw1Ao0jAFP OsBT2vbxNjdrgOy3UJzny7w6caaxQ1GCFuswrcRHzOAK+QzLLJgz0yQvs+qopmk17tck=; Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1wFIyK-0004P9-Ca; Tue, 21 Apr 2026 21:49:29 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1wFIyI-0004P2-GJ for linux-f2fs-devel@lists.sourceforge.net; Tue, 21 Apr 2026 21:49:28 +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=sI7B2qwYK2px9shzd9dW3cp4J2qj6hI2DwyeAFOz6cw=; b=hquGeeRewliGHfDAFgf/JjAbOl Ha1SvbPsDwvEjjDesyLJVDTdP9Cfo7VtIQc1wQNoM41AKlGohrHyok6x+ykVaLEdrDW0AbQaKsXCm tFCVowSIgVWOSN34KZzlZdMzb3m+EavVNvsA0y5o+CwGEtdN4NiRPJw4QeHM8A+Oh6yc=; 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=sI7B2qwYK2px9shzd9dW3cp4J2qj6hI2DwyeAFOz6cw=; b=T tOxotWKb6Haz7Dgg8t8GvnId62QBV7mg2BS3Kb1iSvcTsZ+m6sSrg+NMK0MQh8kpenaK6nTn037Vj gnP9Q9prNRfBkq2Cnbn2KO/WMeIWbor7hYJwjkTXlvAT7wf1Z74YgIx+GLOb2CftByEgChICxRI/R d2ZI535pV7pOBx7Q=; Received: from tor.source.kernel.org ([172.105.4.254]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1wFIyF-0005ZW-Ct for linux-f2fs-devel@lists.sourceforge.net; Tue, 21 Apr 2026 21:49:27 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id AFD6F61339; Tue, 21 Apr 2026 21:49:16 +0000 (UTC) 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 To: Linus Torvalds Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Headers-End: 1wFIyF-0005ZW-Ct Subject: [f2fs-dev] [GIT PULL] f2fs update for 7.1-rc1 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: , From: Jaegeuk Kim via Linux-f2fs-devel Reply-To: Jaegeuk Kim Cc: Linux Kernel Mailing List , Linux F2FS Dev Mailing List Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net 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(-) _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel 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(-)