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 18:41:30 +0000 (11:41 -0700)
commit72497b8d5271702d79d9c6a29b543c4ca3cea6ce
treef6a80942559610d233521bb1273257825fa1b428
parentcfe6e2f69eefb6a1ade2ee091b1b38541091e6a9
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