f2fs: remove request_list check in is_idle()
authorJens Axboe <axboe@kernel.dk>
Tue, 16 Oct 2018 14:34:50 +0000 (08:34 -0600)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 26 Oct 2018 18:26:50 +0000 (11:26 -0700)
commit5a088225311085af2d9d458bcf8a86c9d47f385f
tree7e0f04747a78246510c10a3d15a2d68a2efcb633
parent9816fe54917fc29f9b6c7631f6745fef817ebc62
f2fs: remove request_list check in is_idle()

This doesn't work on stacked devices, and it doesn't work on
blk-mq devices. The request_list is only used on legacy, which
we don't have much of anymore, and soon won't have any of.

Kill the check.

Cc: Jaegeuk Kim <jaegeuk@kernel.org>
Cc: linux-f2fs-devel@lists.sourceforge.net
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h