@type in f2fs_allocate_data_block() indicates log header's type, it
can be CURSEG_COLD_DATA_PINNED or CURSEG_ALL_DATA_ATGC, rather than
type of data/node, however IS_DATASEG()/IS_NODESEG() only accept later
one, fix it.
Fixes: 093749e296e2 ("f2fs: support age threshold based garbage collection")
On 2024/2/24 1:31, Jaegeuk Kim wrote:
Hi Chao,
I've tested the patch and queued in -dev, so can you take a look at it and
propose any change on top of it? Then, we can discuss further on it.
Okay, let me send patches for comments.
Thanks,
On 02/23, Chao Yu wrote:
On 2024/2/14 1:38, Daeho
On 2024/2/24 2:17, Jaegeuk Kim wrote:
Chao,
I applied the below as well in order to keep zone capacity back.
Jaegeuk, copied, thanks.
Thanks,
--- a/fs/f2fs/segment.h
+++ b/fs/f2fs/segment.h
@@ -101,11 +101,10 @@ static inline void sanity_check_seg_type(struct
f2fs_sb_info *sbi,