diff options
Diffstat (limited to 'vserver-sources/old/2.1.1_rc18-r1/4418_vs2.1.1-rc18-iosched-fix01.patch')
-rw-r--r-- | vserver-sources/old/2.1.1_rc18-r1/4418_vs2.1.1-rc18-iosched-fix01.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vserver-sources/old/2.1.1_rc18-r1/4418_vs2.1.1-rc18-iosched-fix01.patch b/vserver-sources/old/2.1.1_rc18-r1/4418_vs2.1.1-rc18-iosched-fix01.patch new file mode 100644 index 0000000..dbb955c --- /dev/null +++ b/vserver-sources/old/2.1.1_rc18-r1/4418_vs2.1.1-rc18-iosched-fix01.patch @@ -0,0 +1,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 +@@ -1757,7 +1757,7 @@ 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; ++ return task->xid + (1 << 16); + if (rw == READ || process_sync(task)) + return task->pid; + |