diff options
author | Tejun Heo <tj@kernel.org> | 2015-05-23 00:13:35 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-06-02 17:33:35 +0300 |
commit | 4aa9c692e052cf6db99db62a8fe0543e5c455da7 (patch) | |
tree | 378d5b44e7ec769dd4dfc9ac5ab2447fdb1f50a4 /block | |
parent | 8395cd9f813d5d7ed9870e642230acfcfc1e8a0a (diff) | |
download | linux-4aa9c692e052cf6db99db62a8fe0543e5c455da7.tar.xz |
bdi: separate out congested state into a separate struct
Currently, a wb's (bdi_writeback) congestion state is carried in its
->state field; however, cgroup writeback support will require multiple
wb's sharing the same congestion state. This patch separates out
congestion state into its own struct - struct bdi_writeback_congested.
A new field wb field, wb_congested, points to its associated congested
struct. The default wb, bdi->wb, always points to bdi->wb_congested.
While this patch adds a layer of indirection, it doesn't introduce any
behavior changes.
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions