f2fs: run fstrim asynchronously if runtime discard is on
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 31 May 2018 17:20:48 +0000 (10:20 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 5 Jun 2018 04:20:14 +0000 (21:20 -0700)
commit787f7faccfcc778c97411777b2fe5d84ea9bd1ca
treec49cfad579041ee9c67c396de3f0f4fd2f45016d
parent72497b8d5271702d79d9c6a29b543c4ca3cea6ce
f2fs: run fstrim asynchronously if runtime discard is on

We don't need to wait for whole bunch of discard candidates in fstrim, since
runtime discard will issue them in idle time.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c