Re: [PATCH 01/10] writeback: move backing_dev_info->state into bdi_writeback

2014-11-24 Thread NeilBrown
On Thu, 20 Nov 2014 16:27:02 +0100 Jan Kara wrote: > On Tue 18-11-14 03:37:19, Tejun Heo wrote: > > Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback) > > and the role of the separation is unclear. For cgroup support for > > writeback IOs, a bdi will be updated to host multiple

Re: [PATCH 01/10] writeback: move backing_dev_info->state into bdi_writeback

2014-11-20 Thread Tejun Heo
Hello, Jan. On Thu, Nov 20, 2014 at 04:27:02PM +0100, Jan Kara wrote: > Hum, does it make sense to convert BDI_sync_congested and > BDI_async_congested? It contains information whether the *device* is > congested and cannot take more work. I understand that in a cgroup world Yeah, I mean, with

Re: [PATCH 01/10] writeback: move backing_dev_info->state into bdi_writeback

2014-11-20 Thread Jan Kara
On Tue 18-11-14 03:37:19, Tejun Heo wrote: > Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback) > and the role of the separation is unclear. For cgroup support for > writeback IOs, a bdi will be updated to host multiple wb's where each > wb serves writeback IOs of a different cgr

[PATCH 01/10] writeback: move backing_dev_info->state into bdi_writeback

2014-11-18 Thread Tejun Heo
Currently, a bdi (backing_dev_info) embeds single wb (bdi_writeback) and the role of the separation is unclear. For cgroup support for writeback IOs, a bdi will be updated to host multiple wb's where each wb serves writeback IOs of a different cgroup on the bdi. To achieve that, a wb should carry