Chao Yu
4b99ecd304
f2fs: ro: compress: fix to avoid caching unaligned extent
...
Mapping info from dump.f2fs:
i_addr[0x2d] cluster flag [0xfffffffe : 4294967294]
i_addr[0x2e] [0x 10428 : 66600]
i_addr[0x2f] [0x 10429 : 66601]
i_addr[0x30] [0x 1042a : 66602]
f2fs_io fiemap 37 1 /mnt/f2fs/disk-58390c8c.raw
Previsouly, it missed to align fofs and ofs_in_node to cluster_size,
result in adding incorrect read extent cache, fix it.
Before:
f2fs_update_read_extent_tree_range: dev = (253,48), ino = 5, pgofs = 37, len = 4, blkaddr = 66600, c_len = 3
After:
f2fs_update_read_extent_tree_range: dev = (253,48), ino = 5, pgofs = 36, len = 4, blkaddr = 66600, c_len = 3
Fixes: 94afd6d6e525 ("f2fs: extent cache: support unaligned extent")
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2024-03-04 09:51:52 -08:00
..
2023-01-19 09:24:29 +01:00
2023-01-19 09:24:27 +01:00
2024-02-27 09:41:12 -08:00
2024-03-04 09:51:52 -08:00
2024-02-29 08:34:34 -08:00
2024-02-27 09:41:12 -08:00
2024-02-27 09:41:14 -08:00
2023-09-12 13:49:33 -07:00
2024-03-04 09:51:52 -08:00
2024-03-04 09:51:52 -08:00
2024-02-29 08:34:34 -08:00
2023-04-10 10:58:45 -07:00
2022-05-17 11:19:23 -07:00
2023-10-18 13:26:22 +02:00
2024-01-11 20:39:15 -08:00
2023-06-12 13:04:09 -07:00
2023-02-07 10:39:28 -08:00
2023-08-02 09:13:09 -06:00
2021-08-23 10:25:51 -07:00
2024-02-27 09:41:14 -08:00
2024-03-04 09:51:52 -08:00
2024-02-27 09:41:12 -08:00
2024-02-29 08:34:35 -08:00
2024-03-04 09:51:51 -08:00
2024-02-29 08:34:34 -08:00
2022-12-12 14:53:56 -08:00
2024-03-04 09:22:30 -08:00
2024-02-27 09:41:12 -08:00
2024-02-27 09:41:15 -08:00
2023-12-15 15:09:17 -08:00
2023-10-09 16:24:18 +02:00