Messages in this thread | | | Date | Thu, 20 Nov 2014 11:01:59 -0500 | From | Tejun Heo <> | Subject | Re: [PATCH 03/10] writeback: move bandwidth related fields from backing_dev_info into bdi_writeback |
| |
On Thu, Nov 20, 2014 at 04:52:53PM +0100, Jan Kara wrote: > On Tue 18-11-14 03:37:21, Tejun Heo wrote: ... > Ok, no problem with this patch but I wonder: When you are moving all the > dirty limiting logic to bdi_writeback, then how do you plan to interpret > min/max_ratio in presence of several bdi_writeback structures?
I think the current code is botching it but basic idea is to distribute all bw controls according to the portion that the specific wb takes out of the whole bdi. ie. keep sum of avg_bw of all active wbs and divide distribute bw params according to that.
Thanks.
-- tejun
| |