aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs/data.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-01-31 09:30:34 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-03-13 08:05:34 +0900
commitcd36d7a17f9da68be9aa67185ba3ad7969934a19 (patch)
tree23cf882fa7719b0f42542b0609dfe366e777e18e /fs/f2fs/data.c
parentf2fs: support large nat bitmap (diff)
downloadlinux-dev-cd36d7a17f9da68be9aa67185ba3ad7969934a19.tar.xz
linux-dev-cd36d7a17f9da68be9aa67185ba3ad7969934a19.zip
f2fs: fix to clear CP_TRIMMED_FLAG
Once CP_TRIMMED_FLAG is set, after a reboot, we will never issue discard before LBA becomes invalid again, fix it by clearing the flag in checkpoint without CP_TRIMMED reason. Fixes: 1f43e2ad7bff ("f2fs: introduce CP_TRIMMED_FLAG to avoid unneeded discard") Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/data.c')
0 files changed, 0 insertions, 0 deletions