f2fs: turn down IO priority of discard from background
authorChao Yu <yuchao0@huawei.com>
Tue, 10 Apr 2018 07:43:09 +0000 (15:43 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 May 2018 15:58:59 +0000 (08:58 -0700)
commitcba608493d3d5d54da4b7dd67868f88c43dfbd35
tree85bb8f3287d4236c1602d7b58452ad1280c8e309
parent377224c471188a2c9a838f919160546f4e842ab8
f2fs: turn down IO priority of discard from background

In order to avoid interfering normal r/w IO, let's turn down IO
priority of discard issued from background.

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