Tejun Heo
cc395d7f1f
writeback: implement bdi_wait_for_completion()
...
If the completion of a wb_writeback_work can be waited upon by setting
its ->done to a struct completion and waiting on it; however, for
cgroup writeback support, it's necessary to issue multiple work items
to multiple bdi_writebacks and wait for the completion of all.
This patch implements wb_completion which can wait for multiple work
items and replaces the struct completion with it. It can be defined
using DEFINE_WB_COMPLETION_ONSTACK(), used for multiple work items and
waited for by wb_wait_for_completion().
Nobody currently issues multiple work items and this patch doesn't
introduce any behavior changes.
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:36 -06:00
..
2015-04-15 16:35:20 -07:00
2015-06-02 08:33:36 -06:00
2014-10-29 16:33:15 -07:00
2014-11-13 16:17:06 -08:00
2015-04-14 16:49:03 -07:00
2015-04-15 16:35:20 -07:00
2015-04-15 16:35:19 -07:00
2015-04-14 16:49:00 -07:00
2015-04-15 16:35:20 -07:00
2014-12-13 12:42:48 -08:00
2015-02-11 17:06:04 -08:00
2014-10-09 22:26:00 -04:00
2015-06-02 08:33:35 -06:00
2015-06-02 08:33:33 -06:00
2014-12-10 17:41:08 -08:00
2015-04-15 16:35:18 -07:00
2014-08-06 18:01:22 -07:00
2015-04-15 16:35:19 -07:00
2015-02-11 17:06:02 -08:00
2015-04-15 16:35:19 -07:00
2014-08-06 18:01:19 -07:00
2015-04-15 16:35:18 -07:00
2015-02-10 14:30:31 -08:00
2015-04-14 16:49:00 -07:00
2015-01-08 15:10:52 -08:00
2014-10-09 22:25:50 -04:00
2015-02-13 21:21:41 -08:00
2015-04-15 16:35:18 -07:00
2015-02-12 18:54:10 -08:00
2015-06-02 08:33:34 -06:00
2015-04-14 16:49:06 -07:00
2015-04-15 16:35:19 -07:00
2015-06-02 08:33:35 -06:00
2015-04-15 16:35:19 -07:00
2015-04-15 16:35:19 -07:00
2015-04-15 16:35:20 -07:00
2015-04-14 16:49:03 -07:00
2015-04-15 16:35:20 -07:00
2015-04-14 16:49:06 -07:00
2015-04-15 16:35:17 -07:00
2015-02-11 17:06:06 -08:00
2015-04-14 16:49:00 -07:00
2015-02-12 18:54:11 -08:00
2015-04-15 16:35:19 -07:00
2014-11-13 13:46:09 +11:00
2015-02-11 17:06:02 -08:00
2015-03-25 16:20:31 -07:00
2015-04-15 16:35:18 -07:00
2015-02-10 14:30:31 -08:00
2014-11-13 16:17:06 -08:00
2015-04-11 22:27:56 -04:00
2015-04-15 16:35:16 -07:00
2015-04-15 16:35:18 -07:00
2015-02-11 17:06:02 -08:00
2014-12-13 12:42:48 -08:00
2015-05-19 09:19:59 -06:00
2015-03-25 16:20:30 -07:00
2015-02-11 17:06:07 -08:00
2015-06-02 08:33:36 -06:00
2015-03-25 16:20:30 -07:00
2014-09-02 14:46:05 -04:00
2014-09-02 14:46:02 -04:00
2015-03-24 13:41:54 -04:00
2015-02-12 18:54:08 -08:00
2015-04-11 22:27:12 -04:00
2015-06-02 08:33:35 -06:00
2015-06-02 08:33:33 -06:00
2015-04-15 15:06:58 -04:00
2015-02-13 21:21:41 -08:00
2015-04-14 16:49:03 -07:00
2015-02-12 18:54:10 -08:00
2015-04-14 16:48:59 -07:00
2015-04-15 16:35:18 -07:00
2014-12-10 17:41:09 -08:00
2015-04-15 16:35:18 -07:00
2015-04-15 16:35:19 -07:00
2015-04-15 16:35:18 -07:00
2015-06-02 08:33:33 -06:00
2015-04-15 16:35:19 -07:00
2014-12-13 12:42:48 -08:00
2015-04-15 16:35:18 -07:00
2014-12-02 17:32:07 -08:00
2015-06-02 08:33:35 -06:00
2015-02-11 17:06:07 -08:00
2015-02-12 18:54:10 -08:00
2015-02-12 18:54:12 -08:00
2015-02-12 18:54:12 -08:00
2015-04-15 16:35:22 -07:00
2015-02-12 18:54:12 -08:00