lkml.org 
[lkml]   [2023]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [f2fs-dev] [PATCH] f2fs: fix to recover quota data correctly
From
Date
Hello:

This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:

On Sun, 2 Apr 2023 19:27:06 +0800 you wrote:
> With -O quota mkfs option, xfstests generic/417 fails due to fsck detects
> data corruption on quota inodes.
>
> [ASSERT] (fsck_chk_quota_files:2051) --> Quota file is missing or invalid quota file content found.
>
> The root cause is there is a hole f2fs doesn't hold quota inodes,
> so all recovered quota data will be dropped due to SBI_POR_DOING
> flag was set.
> - f2fs_fill_super
> - f2fs_recover_orphan_inodes
> - f2fs_enable_quota_files
> - f2fs_quota_off_umount
> <--- quota inodes were dropped --->
> - f2fs_recover_fsync_data
> - f2fs_enable_quota_files
> - f2fs_quota_off_umount
>
> [...]

Here is the summary with links:
- [f2fs-dev] f2fs: fix to recover quota data correctly
https://git.kernel.org/jaegeuk/f2fs/c/cbb356d60c54

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html


\
 
 \ /
  Last update: 2023-04-12 18:21    [W:0.037 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site