aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorJack Qiu <[email protected]>2020-06-18 12:37:10 +0800
committerJaegeuk Kim <[email protected]>2020-06-18 12:35:38 -0700
commitda52f8ade40b032eb8111a0fd514c8ac5f8f0f1b (patch)
tree26735801a071d7434e511a417cc7a8b132c2fd5f /lib/mpi/mpi-bit.c
parentdb5ae363292705d52c5b653d5079a07a6417ef4c (diff)
f2fs: get the right gc victim section when section has several segments
Assume each section has 4 segment: .___________________________. |_Segment0_|_..._|_Segment3_| . . . . .__________. |_section0_| Segment 0~2 has 0 valid block, segment 3 has 512 valid blocks. It will fail if we want to gc section0 in this scenes, because all 4 segments in section0 is not dirty. So we should use dirty section bitmap instead of dirty segment bitmap to get right victim section. Signed-off-by: Jack Qiu <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions