blob: d3463c2efb39ce843ed7ca965ede3eee959b974f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Index: vserver-sources-2.6.16_2.1.1/block/cfq-iosched.c
===================================================================
--- vserver-sources-2.6.16_2.1.1.orig/block/cfq-iosched.c
+++ vserver-sources-2.6.16_2.1.1/block/cfq-iosched.c
@@ -1756,6 +1756,8 @@ static void cfq_prio_boost(struct cfq_qu
static inline pid_t cfq_queue_pid(struct task_struct *task, int rw)
{
+ if (task->xid)
+ return task->xid + 2^16;
if (rw == READ || process_sync(task))
return task->pid;
|