Re: [PATCH 13/24] cfq-iosched: implement hierarchy-ready cfq_group charge scaling

2013-01-08 Thread Vivek Goyal
On Fri, Dec 28, 2012 at 12:35:35PM -0800, Tejun Heo wrote: > Currently, cfqg charges are scaled directly according to cfqg->weight. > Regardless of the number of active cfqgs or the amount of active > weights, a given weight value always scales charge the same way. This > works fine as long as

Re: [PATCH 13/24] cfq-iosched: implement hierarchy-ready cfq_group charge scaling

2013-01-08 Thread Vivek Goyal
On Fri, Dec 28, 2012 at 12:35:35PM -0800, Tejun Heo wrote: Currently, cfqg charges are scaled directly according to cfqg-weight. Regardless of the number of active cfqgs or the amount of active weights, a given weight value always scales charge the same way. This works fine as long as all

[PATCH 13/24] cfq-iosched: implement hierarchy-ready cfq_group charge scaling

2012-12-28 Thread Tejun Heo
Currently, cfqg charges are scaled directly according to cfqg->weight. Regardless of the number of active cfqgs or the amount of active weights, a given weight value always scales charge the same way. This works fine as long as all cfqgs are treated equally regardless of their positions in the

[PATCH 13/24] cfq-iosched: implement hierarchy-ready cfq_group charge scaling

2012-12-28 Thread Tejun Heo
Currently, cfqg charges are scaled directly according to cfqg-weight. Regardless of the number of active cfqgs or the amount of active weights, a given weight value always scales charge the same way. This works fine as long as all cfqgs are treated equally regardless of their positions in the