android_kernel_samsung_sm8650/fs/f2fs
Jaegeuk Kim 7c4e7f1885 Revert "f2fs: fix to tag gcing flag on page during block migration"
This reverts commit 7c972c8945.

[  146.693904][ T8878] WARNING: CPU: 2 PID: 8878 at fs/f2fs/segment.c:3335 f2fs_allocate_data_block+0x130/0xd08

panic in:

f2fs_write_data_pages
 -> f2fs_write_multi_pages
  -> f2fs_write_single_data_page
   -> f2fs_do_write_data_page
    -> f2fs_outplace_write_data
     -> do_write_page
      -> f2fs_allocate_data_block

 if (from_gc) {
         f2fs_bug_on(sbi, GET_SEGNO(sbi, old_blkaddr) == NULL_SEGNO);
         se = get_seg_entry(sbi, GET_SEGNO(sbi, old_blkaddr));
         sanity_check_seg_type(sbi, se->type);
         f2fs_bug_on(sbi, IS_NODESEG(se->type));
 }

Bug: 345273844
Bug: 348080443
Change-Id: I62732bbcb37a7864588886b862b590a463b4d1d9
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
(cherry picked from commit c0618d182a9cfbcfb4435de7c37ed32c44051216)
2024-06-19 03:00:11 +00:00
..
acl.c f2fs: port to vfs{g,u}id_t and associated helpers 2022-10-04 13:31:43 -07:00
acl.h vfs: add rcu argument to ->get_acl() callback 2021-08-18 22:08:24 +02:00
checkpoint.c FROMGIT: f2fs: introduce FAULT_BLKADDR_CONSISTENCE 2024-03-04 18:26:14 +00:00
compress.c Revert "f2fs: fix to tag gcing flag on page during block migration" 2024-06-19 03:00:11 +00:00
data.c Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
debug.c f2fs: refactor extent_cache to support for read and more 2023-05-17 11:53:52 +02:00
dir.c f2fs: convert to use bitmap API 2024-01-10 17:10:30 +01:00
extent_cache.c BACKPORT: f2fs: split initial and dynamic conditions for extent_cache 2024-03-13 08:50:38 +00:00
f2fs.h Merge 6.1.78 into android14-6.1-lts 2024-04-19 12:19:39 +00:00
file.c Revert "f2fs: fix to tag gcing flag on page during block migration" 2024-06-19 03:00:11 +00:00
gc.c f2fs: optimize iteration over sparse directories 2023-10-06 14:56:44 +02:00
gc.h f2fs: Fix system crash due to lack of free space in LFS 2023-05-24 17:32:38 +01:00
hash.c f2fs: don't use casefolded comparison for "." and ".." 2022-05-17 11:19:23 -07:00
inline.c This is the 6.1.54 stable release 2023-10-17 12:03:09 +00:00
inode.c BACKPORT: f2fs: Support Block Size == Page Size 2024-02-07 00:14:26 +00:00
iostat.c f2fs: fix to avoid potential memory corruption in __update_iostat_latency() 2023-03-11 13:55:21 +01:00
iostat.h f2fs: use iostat_lat_type directly as a parameter in the iostat_update_and_unbind_ctx() 2023-02-07 10:54:25 -08:00
Kconfig f2fs: introduce F2FS_UNFAIR_RWSEM to support unfair rwsem 2022-03-04 09:15:53 -08:00
Makefile f2fs: separate out iostat feature 2021-08-23 10:25:51 -07:00
namei.c Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
node.c Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
node.h f2fs: convert to use bitmap API 2024-01-10 17:10:30 +01:00
recovery.c Merge 6.1.77 into android14-6.1-lts 2024-04-17 08:34:35 +00:00
segment.c FROMGIT: f2fs: fix to avoid use SSR allocate when do defragment 2024-06-12 10:15:44 +00:00
segment.h f2fs: Fix system crash due to lack of free space in LFS 2023-05-24 17:32:38 +01:00
shrinker.c f2fs: refactor extent_cache to support for read and more 2023-05-17 11:53:52 +02:00
super.c Merge 6.1.78 into android14-6.1-lts 2024-04-19 12:19:39 +00:00
sysfs.c f2fs: convert to use bitmap API 2024-01-10 17:10:30 +01:00
verity.c fs: f2fs: initialize fsdata in pagecache_write() 2023-03-11 13:55:18 +01:00
xattr.c Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
xattr.h f2fs: code cleanup by removing ifdef macro surrounding 2020-05-26 18:56:10 -07:00