Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a39d96b9 authored by Yunlong Song's avatar Yunlong Song Committed by Jaegeuk Kim
Browse files

Revert "f2fs: handle dirty segments inside refresh_sit_entry"



This reverts commit 5e443818

The commit should be reverted because call sequence of below two parts
of code must be kept:
a. update sit information, it needs to be updated before segment
allocation since latter allocation may trigger SSR, and SSR allocation
needs latest valid block information of all segments.
b. update segment status, it needs to be updated after segment allocation
since we can skip updating current opened segment status.

Fixes: 5e443818 ("f2fs: handle dirty segments inside refresh_sit_entry")
Suggested-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarYunlong Song <yunlong.song@huawei.com>
Reviewed-by: default avatarChao Yu <yuchao0@huawei.com>
[Jaegeuk Kim: remove refresh_sit_entry function]
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 0ccccb38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment