FROMLIST: 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@google.com>
Tue, 5 Jun 2018 21:01:12 +0000 (14:01 -0700)
commit54f1dc05da62e83fbb842a5ca0ae2d0e9474f49f
tree9ff872d6eb92db28af501417ec88039114c00d00
parent8b94b87fe7837274dbb237cd8d5e9c297a1ad512
FROMLIST: f2fs: run fstrim asynchronously if runtime discard is on

Cherry-picked from:
        origin/upstream-f2fs-stable-linux-4.9.y

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

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