summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/gc.h
diff options
context:
space:
mode:
authorYunlong Song <yunlong.song@huawei.com>2017-02-21 16:59:26 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2017-02-24 09:37:30 -0800
commit3436c4bdb30de421d46f58c9174669fbcfd40ce0 (patch)
tree9318f009c56dbca7fdb55e7406c073f7459b68c8 /fs/f2fs/gc.h
parente93b9865251a0503d83fd570e7d5a7c8bc351715 (diff)
downloadop-kernel-dev-3436c4bdb30de421d46f58c9174669fbcfd40ce0.zip
op-kernel-dev-3436c4bdb30de421d46f58c9174669fbcfd40ce0.tar.gz
f2fs: put allocate_segment after refresh_sit_entry
SIT information should be updated before segment allocation, since SSR needs latest valid block information. Current code does not update the old_blkaddr info in sit_entry, so adjust the allocate_segment to its proper location. Commit 5e443818fa0b2a2845561ee25bec181424fb2889 ("f2fs: handle dirty segments inside refresh_sit_entry") puts it into wrong location. Signed-off-by: Yunlong Song <yunlong.song@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud