From: Tejun Heo Date: Fri, 22 May 2015 21:13:35 +0000 (-0400) Subject: bdi: separate out congested state into a separate struct X-Git-Tag: omap-for-v4.3/legacy-v2-signed~146^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aa9c692e052cf6db99db62a8fe0543e5c455da7;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed