[PATCH 26/48] writeback, blkcg: restructure blk_{set|clear}_queue_congested()

2015-03-22 Thread Tejun Heo
blk_{set|clear}_queue_congested() take @q and set or clear, respectively, the congestion state of its bdi's root wb. Because bdi used to be able to handle congestion state only on the root wb, the callers of those functions tested whether the congestion is on the root blkcg and skipped if not.

[PATCH 26/48] writeback, blkcg: restructure blk_{set|clear}_queue_congested()

2015-03-22 Thread Tejun Heo
blk_{set|clear}_queue_congested() take @q and set or clear, respectively, the congestion state of its bdi's root wb. Because bdi used to be able to handle congestion state only on the root wb, the callers of those functions tested whether the congestion is on the root blkcg and skipped if not.