[Devel] [PATCH rh7 1/2] fs/writeback: prepare for per-CT writeback

2016-01-15 Thread Andrey Ryabinin
Small preparational chages for the next patch: * export writeback_inodes_wb() and add new argument 'struct user_beancounter *ub' * add beancounter pointer to struct wb_writeback_work. * Pass beacounter to __bdi_start_writeback(). https://jira.sw.ru/browse/PSBM-33841 Signed-off-by: Andrey Ryab

Re: [Devel] [PATCH rh7 1/2] fs/writeback: prepare for per-CT writeback

2016-01-18 Thread Vladimir Davydov
On Fri, Jan 15, 2016 at 06:17:24PM +0300, Andrey Ryabinin wrote: > @@ -51,6 +51,7 @@ struct wb_writeback_work { > > struct list_head list; /* pending work list */ > struct completion *done;/* set if the caller waits */ > + struct user_beancounter *ub; You add a n