f2fs: better to wait for fstrim completion
authorJaegeuk Kim <[email protected]>
Sat, 9 Sep 2017 19:03:23 +0000 (12:03 -0700)
committerJaegeuk Kim <[email protected]>
Tue, 12 Sep 2017 00:22:12 +0000 (17:22 -0700)
commit1eb1ef4a8e9f6a4d9c2c7a645aba21d2f8719728
treeedfb21cfe9da34162191d15c3909acd31ce99040
parent27161f13e3c3241944846ac24942a85cceda0a2c
f2fs: better to wait for fstrim completion

In android, we'd better wait for fstrim completion instead of issuing the
discard commands asynchronous.

Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
fs/f2fs/segment.c