Bug#523364: linux-2.6: openvz fix oops at first IO with CONFIG_BC_IO_SCHED=n
Package: linux-2.6
Version: 2.6.26-15
Severity: important
Tags: patch
commit 0c295ff25ec9af8ecca813bc4809d83c8d93ef19
Author: Konstantin Khlebnikov <khlebnikov@openvz.org>
Date: Fri Mar 27 14:59:14 2009 +0300
cfq link cfq_bc_data without bc io sched
Fixes oops at first IO with CONFIG_BC_IO_SCHED=n.
The cfq_set_request wants to get ub by cfqq->cfq_bc->ub_iopriv,
so save ref to ub0 there.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: