block-dev: enable writeback cgroup support
authorShaohua Li <shli@fb.com>
Mon, 22 Feb 2016 22:27:40 +0000 (15:27 -0700)
committerJens Axboe <axboe@fb.com>
Thu, 3 Mar 2016 21:50:53 +0000 (14:50 -0700)
commit3684aa7099e0ab1038a1a1bf717ae60ffc3018d1
tree1223fcd0b589e23cc936c46b835ef05d99357270
parente9137d4b93078b6a9965acfb18a2a2ad91cf8405
block-dev: enable writeback cgroup support

block_dev's .writepages/.writepage already handles
wbc_init_bio/wbc_account_io. We only set the SB_I_CGROUPWB bit to
suppport writeback cgroup support.

Signed-off-by: Shaohua Li <shli@fb.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/block_dev.c