Commit 65f1b80b authored by Committed by Jaegeuk Kim
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: Chao Yu <email@example.com> Signed-off-by: Yunlong Song <firstname.lastname@example.org> Reviewed-by: Chao Yu <email@example.com> [Jaegeuk Kim: remove refresh_sit_entry function] Signed-off-by: Jaegeuk Kim <firstname.lastname@example.org>
Showing with 14 additions and 14 deletions