Re: [f2fs-dev] [PATCH 1/2] f2fs: fix to remove f2fs_bug_on in add_bio_entry

2024-03-10 Thread Chao Yu
On 2024/3/8 18:12, Zhiguo Niu wrote: add_bio_entry should not trigger system panic when bio_add_page fail, fix to remove it. Fixes: 0b20fcec8651 ("f2fs: cache global IPU bio") Signed-off-by: Zhiguo Niu --- fs/f2fs/data.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff

Re: [f2fs-dev] [PATCH V8] f2fs: unify the error handling of f2fs_is_valid_blkaddr

2024-03-10 Thread Chao Yu
On 2024/3/8 14:25, Zhiguo Niu wrote: There are some cases of f2fs_is_valid_blkaddr not handled as ERROR_INVALID_BLKADDR,so unify the error handling about all of f2fs_is_valid_blkaddr. Do f2fs_handle_error in __f2fs_is_valid_blkaddr for cleanup. Signed-off-by: Zhiguo Niu Signed-off-by: Chao Yu

[f2fs-dev] [Bug 218349] f2fs partitions corrupted during power failures and cannot be fixed with fsck.

2024-03-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218349 --- Comment #3 from Chao Yu (c...@kernel.org) --- (In reply to Kane Ch'in from comment #2) > That works! Thank you for your efforts. Thank you for the confirmation! I found above link is expired, let me attach the lore one for who wants check

[f2fs-dev] [Bug 218349] f2fs partitions corrupted during power failures and cannot be fixed with fsck.

2024-03-10 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=218349 Kane Ch'in (qinfd2...@lzu.edu.cn) changed: What|Removed |Added Status|ASSIGNED|RESOLVED

Re: [f2fs-dev] [PATCH] f2fs: Cast expression type to unsigned long in __count_extent_cache()

2024-03-10 Thread David Laight
From: Roman Smirnov > Sent: 05 March 2024 08:10 > > Cast expression type to unsigned long in __count_extent_cache() > to prevent integer overflow. > > Found by Linux Verification Center (linuxtesting.org) with Svace. Another broken analysis tool :-) > Signed-off-by: Roman Smirnov >