f2fs: don't wake up too frequently, if there is lots of IOs
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 25 Jan 2019 18:26:39 +0000 (10:26 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 16 Feb 2019 04:59:45 +0000 (20:59 -0800)
commitb460866d27089ffaf915a5a3340b4d8c9f079d33
tree10bfaa2f360c3657a1b5a8edfb0ee08055cc52f3
parentb86232536c3ec068b0960ffc62c61a872412b2b7
f2fs: don't wake up too frequently, if there is lots of IOs

Otherwise, it wakes up discard thread which will sleep again by busy IOs
in a loop.

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