search for: cfq_data_class_idl

Displaying 2 results from an estimated 2 matches for "cfq_data_class_idl".

Did you mean: cfq_data_class_idle
2008 Nov 07
0
[PATCH][cfq-cgroups] Introduce ioprio class for top layer.
...diff --git a/block/cfq-cgroup.c b/block/cfq-cgroup.c index bb8cb6f..993a3b6 100644 --- a/block/cfq-cgroup.c +++ b/block/cfq-cgroup.c @@ -20,11 +20,24 @@ static const int cfq_cgroup_slice = HZ / 10; +/* + * offset from end of service tree + */ +#define CFQ_CGROUP_IDLE_DELAY (HZ / 5) + +#define cfq_data_class_idle(cfqd) \ + ((cfqd)->ioprio_class == IOPRIO_CLASS_IDLE) +#define cfq_data_class_rt(cfqd) \ + ((cfqd)->ioprio_class == IOPRIO_CLASS_RT) + + + static struct cfq_ops cfq_cgroup_op; struct cfq_cgroup { struct cgroup_subsys_state css; unsigned int ioprio; + unsigned short ioprio_cl...
2008 Nov 07
0
[PATCH][cfq-cgroups] Introduce ioprio class for top layer.
...diff --git a/block/cfq-cgroup.c b/block/cfq-cgroup.c index bb8cb6f..993a3b6 100644 --- a/block/cfq-cgroup.c +++ b/block/cfq-cgroup.c @@ -20,11 +20,24 @@ static const int cfq_cgroup_slice = HZ / 10; +/* + * offset from end of service tree + */ +#define CFQ_CGROUP_IDLE_DELAY (HZ / 5) + +#define cfq_data_class_idle(cfqd) \ + ((cfqd)->ioprio_class == IOPRIO_CLASS_IDLE) +#define cfq_data_class_rt(cfqd) \ + ((cfqd)->ioprio_class == IOPRIO_CLASS_RT) + + + static struct cfq_ops cfq_cgroup_op; struct cfq_cgroup { struct cgroup_subsys_state css; unsigned int ioprio; + unsigned short ioprio_cl...