Tejun Heo
766a9d6e60
writeback: implement backing_dev_info->tot_write_bandwidth
...
cgroup writeback support needs to keep track of the sum of
avg_write_bandwidth of all wb's (bdi_writeback's) with dirty inodes to
distribute write workload. This patch adds bdi->tot_write_bandwidth
and updates inode_wb_list_move_locked(), inode_wb_list_del_locked()
and wb_update_write_bandwidth() to adjust it as wb's gain and lose
dirty inodes and its avg_write_bandwidth gets updated.
As the update events are not synchronized with each other,
bdi->tot_write_bandwidth is an atomic_long_t.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-06-02 08:33:35 -06:00
..
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-05-22 08:58:55 -06:00
2015-04-15 15:06:59 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-01-18 01:03:45 -05:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-02-22 11:38:41 -05:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-04-15 15:06:57 -04:00
2014-10-13 17:52:21 +01:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2014-11-18 10:15:29 +01:00
2015-01-19 15:59:58 -05:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-21 16:16:02 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-06-02 08:33:34 -06:00
2015-04-26 17:22:07 -07:00
2015-05-19 09:17:03 -06:00
2015-03-12 18:46:08 -07:00
2015-04-15 15:06:57 -04:00
2015-06-02 08:33:34 -06:00
2015-04-15 15:06:57 -04:00
2015-03-18 10:29:48 +01:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-06-02 08:33:34 -06:00
2015-04-11 22:29:40 -04:00
2015-04-15 15:06:57 -04:00
2015-03-25 13:27:57 +01:00
2015-04-15 15:06:57 -04:00
2015-02-03 12:48:43 -05:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:34 -06:00
2015-04-16 23:27:56 -04:00
2015-02-20 04:03:58 -05:00
2014-11-19 13:01:20 -05:00
2014-10-09 02:39:00 -04:00
2015-04-14 16:49:05 -07:00
2014-12-13 12:42:51 -08:00
2015-04-26 17:22:07 -07:00
2014-12-13 12:42:51 -08:00
2015-06-02 08:33:34 -06:00
2015-06-02 08:33:33 -06:00
2015-01-20 14:02:58 -07:00
2015-04-03 23:21:34 +02:00
2014-10-31 17:48:54 -04:00
2015-04-11 22:29:39 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:05:28 -04:00
2015-04-24 15:45:28 -04:00
2015-02-12 18:54:09 -08:00
2015-02-17 14:34:52 -08:00
2015-02-13 21:21:40 -08:00
2015-04-19 13:46:21 -07:00
2015-01-08 15:10:52 -08:00
2015-04-11 22:29:43 -04:00
2015-04-17 09:04:07 -04:00
2015-04-09 11:39:55 -05:00
2015-06-02 08:33:35 -06:00
2015-06-02 08:33:35 -06:00
2015-02-22 11:38:42 -05:00
2015-02-10 14:30:30 -08:00
2015-04-10 15:08:35 -07:00
2015-04-14 16:49:05 -07:00
2015-04-15 15:06:58 -04:00
2015-04-17 09:04:12 -04:00
2015-04-14 10:22:29 -07:00
2015-01-25 23:17:29 -05:00
2014-10-09 22:25:53 -04:00
2015-04-24 15:52:14 -04:00
2015-04-09 11:39:57 -05:00
2015-04-15 15:06:58 -04:00
2015-04-24 07:08:41 -07:00
2015-04-15 15:06:58 -04:00
2015-04-02 20:34:20 -05:00
2015-04-09 11:39:55 -05:00
2015-04-15 15:06:59 -04:00
2015-02-05 02:45:00 -05:00
2015-04-11 22:29:46 -04:00
2014-10-31 17:48:54 -04:00
2015-02-12 18:54:12 -08:00
2015-02-13 21:21:39 -08:00
2014-11-05 14:13:23 -05:00
2015-04-15 16:35:20 -07:00
2015-04-15 15:06:59 -04:00
2015-04-14 16:49:03 -07:00
2015-02-05 02:45:00 -05:00
2014-11-05 14:13:23 -05:00
2014-11-19 13:01:26 -05:00