Skip to content
Commit 4ce53776 authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: remain last victim segment number ascending order



This patch avoids to remain inefficient victim segment number selected by
a victim.

For example, if all the dirty segments has same valid blocks, we can get
the victim segments descending order due to keeping wrong last segment number.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent 8060656a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment