f2fs: try to keep CP_TRIMMED_FLAG after successful umount
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 25 Jan 2019 17:12:13 +0000 (09:12 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 16 Feb 2019 04:59:45 +0000 (20:59 -0800)
commitb86232536c3ec068b0960ffc62c61a872412b2b7
tree67137b487a8081fb7dec6d9d58a10a13681ed553
parentdb610a640eeeb268c36a4558414f28e1c269433e
f2fs: try to keep CP_TRIMMED_FLAG after successful umount

If every discard were issued successfully, we can avoid further discard.

Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c