OSDN Git Service

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:18:51 +0000 (21:18 -0700)
commit73450231fffffe6a2863d493cd053596f2a2de57
tree3eb7f31b35e1d73aebb340d61ffde1adc800337d
parent85d2070f60c66b469e21a0c8e67c25c7cd5b4c45
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