f2fs: don't issue discard commands in online discard is on
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 21 Jun 2018 04:27:21 +0000 (21:27 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 27 Jul 2018 09:03:59 +0000 (18:03 +0900)
commit5a6154920faf9d3d5a39de1da49c66af9831d270
tree7bb43d6d57d81accd2fc7592e45b08cb144e60fd
parente2374015f27fe5ee5d5c37966e2faf396cdaaa65
f2fs: don't issue discard commands in online discard is on

Actually, we don't need to issue discard commands, if discard is on, as
mentioned in the comment.

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