Tejun Heo
a9520cd6f2
blkcg: make blkcg_policy methods take a pointer to blkcg_policy_data
...
The newly added ->pd_alloc_fn() and ->pd_free_fn() deal with pd
(blkg_policy_data) while the older ones use blkg (blkcg_gq). As using
blkg doesn't make sense for ->pd_alloc_fn() and after allocation pd
can always be mapped to blkg and given that these are policy-specific
methods, it makes sense to converge on pd.
This patch makes all methods deal with pd instead of blkg. Most
conversions are trivial. In blk-cgroup.c, a couple method invocation
sites now test whether pd exists instead of policy state for
consistency. This shouldn't cause any behavioral differences.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-08-18 15:49:17 -07:00
..
2015-07-17 16:39:53 -07:00
2015-07-12 21:13:22 +02:00
2015-07-09 20:30:34 +03:00
2015-06-25 11:49:31 +03:00
2015-07-16 00:12:24 +02:00
2015-06-22 12:25:04 +01:00
2015-06-25 14:45:46 -07:00
2015-06-27 12:44:34 -07:00
2015-06-26 14:51:15 -07:00
2015-06-24 16:49:49 -07:00
2015-06-24 16:49:49 -07:00
2015-06-18 09:20:48 +02:00
2015-07-07 13:03:25 -07:00
2015-06-18 21:14:33 +02:00
2015-06-23 14:08:54 -07:00
2015-07-24 10:18:38 +02:00
2015-06-22 11:19:56 +01:00
2015-06-19 15:18:28 +02:00
2015-06-21 21:52:24 +02:00
2015-07-02 11:32:23 -07:00
2015-07-09 14:58:31 -07:00
2015-07-07 22:48:25 +02:00
2015-07-15 11:47:24 -04:00
2015-07-02 08:46:00 -06:00
2015-08-18 15:49:15 -07:00
2015-06-23 15:47:35 +01:00
2015-06-21 21:55:33 +02:00
2015-06-26 10:11:58 -04:00
2015-08-18 15:49:17 -07:00
2015-06-26 12:35:01 -07:00
2015-06-24 17:49:41 -07:00
2015-06-15 15:53:50 -07:00
2015-06-10 23:33:58 -07:00
2015-07-02 01:32:44 -04:00
2015-08-18 13:58:16 -07:00
2015-08-04 15:20:55 -04:00
2015-06-20 13:29:48 -07:00
2015-07-17 16:39:53 -07:00
2015-07-17 16:39:53 -07:00
2015-06-25 17:00:38 -07:00
2015-06-25 17:00:38 -07:00
2015-07-11 20:44:31 -07:00
2015-07-17 16:39:53 -07:00
2015-06-25 17:00:38 -07:00
2015-07-15 13:30:38 +01:00
2015-07-17 16:39:53 -07:00
2015-06-19 01:18:02 +02:00
2015-06-22 15:49:30 +08:00
2015-07-17 16:39:53 -07:00
2015-07-17 16:39:53 -07:00
2015-06-25 09:21:49 +05:30
2015-06-12 11:33:52 +02:00
2015-06-25 09:06:57 +02:00
2015-06-29 10:34:42 -07:00
2015-06-12 17:01:42 -07:00
2015-07-01 02:30:09 -04:00
2015-06-24 17:49:45 -07:00
2015-07-13 06:29:11 -04:00
2015-06-24 17:49:38 -07:00
2015-07-24 13:58:14 -04:00
2015-06-30 19:45:01 -07:00
2015-06-30 19:44:56 -07:00
2015-07-13 14:18:07 -07:00
2015-06-19 15:18:28 +02:00
2015-07-17 16:39:52 -07:00
2015-06-15 17:23:03 -07:00
2015-06-23 06:14:04 -07:00
2015-06-15 19:49:22 -07:00
2015-06-24 02:15:54 -07:00
2015-06-26 19:50:04 -07:00
2015-07-05 23:59:14 -04:00
2015-06-23 18:27:19 -07:00
2015-07-17 16:39:53 -07:00
2015-06-25 12:06:34 +02:00
2015-07-02 22:34:38 +02:00
2015-07-08 11:32:25 +02:00
2015-06-25 12:06:45 +02:00
2015-06-15 14:36:01 -04:00
2015-07-17 16:39:53 -07:00
2015-08-18 15:49:15 -07:00
2015-06-24 17:49:46 -07:00
2015-07-17 16:39:53 -07:00
2015-07-10 13:25:26 +02:00
2015-06-19 10:03:12 +02:00
2015-07-15 11:47:24 -04:00
2015-06-26 11:23:38 -04:00
2015-06-24 15:09:40 -07:00
2015-06-27 13:26:03 -07:00
2015-06-11 22:19:45 +05:30
2015-06-30 19:44:55 -07:00
2015-06-25 16:00:17 -07:00
2015-06-24 17:49:41 -07:00
2015-06-30 19:44:56 -07:00
2015-07-17 16:39:53 -07:00
2015-06-24 17:49:44 -07:00
2015-06-30 19:44:56 -07:00
2015-07-07 01:55:20 +02:00
2015-07-05 23:59:14 -04:00
2015-07-01 10:49:25 -07:00
2015-06-16 14:35:06 +08:00
2015-06-25 04:20:04 -04:00
2015-06-15 17:23:03 -07:00
2015-06-12 14:16:46 +02:00
2015-06-18 21:14:31 +02:00
2015-06-12 14:10:12 +02:00
2015-06-18 21:14:31 +02:00
2015-06-24 10:17:37 -04:00
2015-06-27 11:48:58 -04:00
2015-06-24 10:53:11 -04:00
2015-06-10 18:32:40 -04:00
2015-06-24 10:17:37 -04:00
2015-06-24 17:49:40 -07:00
2015-07-04 14:05:49 -04:00
2015-07-04 14:04:44 -04:00
2015-07-01 19:40:18 -07:00
2015-06-24 11:18:48 +10:00
2015-07-01 19:40:18 -07:00
2015-06-24 17:49:43 -07:00
2015-07-17 16:39:54 -07:00
2015-07-04 19:36:06 -07:00
2015-07-17 16:39:53 -07:00
2015-06-24 16:49:49 -07:00
2015-06-12 15:26:45 -05:00
2015-06-26 14:02:43 -07:00
2015-06-16 14:12:37 -04:00
2015-06-19 01:18:14 +02:00
2015-06-29 10:34:42 -07:00
2015-06-10 16:15:54 +02:00
2015-07-03 18:55:00 +02:00
2015-07-17 16:39:53 -07:00
2015-06-15 14:40:49 +02:00
2015-06-12 11:36:30 +02:00
2015-07-01 10:49:25 -07:00
2015-06-22 18:57:44 -07:00
2015-06-17 09:57:12 +03:00
2015-06-25 01:13:43 +02:00
2015-06-23 06:56:18 -07:00
2015-06-30 19:44:59 -07:00
2015-07-18 03:42:51 +02:00
2015-06-27 13:26:03 -07:00
2015-06-23 18:01:07 -04:00
2015-07-01 10:49:25 -07:00
2015-06-15 14:30:32 -07:00
2015-06-29 10:49:51 -07:00
2015-06-24 17:49:40 -07:00
2015-06-15 19:49:22 -07:00
2015-06-25 17:00:38 -07:00
2015-06-25 17:00:40 -07:00
2015-06-26 14:02:43 -07:00
2015-07-01 10:36:39 -05:00
2015-07-01 10:36:45 -05:00
2015-06-25 17:00:39 -07:00
2015-07-07 21:56:34 +02:00
2015-06-12 11:15:49 +02:00
2015-06-12 11:15:49 +02:00
2015-07-09 10:51:46 +02:00
2015-06-19 15:18:28 +02:00
2015-06-15 16:02:52 -07:00
2015-06-12 17:26:57 -07:00
2015-06-29 11:10:56 -07:00
2015-06-29 11:51:06 +02:00
2015-06-25 17:00:37 -07:00