IDE
Please pull to get these IDE bug fixes:
1) DMA timeouts cause requests to get lost completely and never requeued. Fix from Herbert Xu. (Tejun has a different approach to this problem which makes PIO and DMA timeouts get handled more symmetrically, but I'll defer that to ide-next-2.6)
2) taskfile ops with CFQ scheduler bomb because the taskfile code allocates a request then changes it's direction (e.g. READ vs. WRITE) and this makes CFQ explode. Fix by allocating the correct request type from the beginning. From Mikulas Patocka.
Thanks!
The following changes since commit 48de8cb7847d040c8892701c1ff3c55eff1f46b4:
Linus Torvalds (1):
Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/.../tip/linux-2.6-tip
are available in the git repository at:
master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6.git master
Herbert Xu (2):
ide: Requeue request after DMA timeout
ide: Must hold queue lock when requeueing
Mikulas Patocka (1):
ide: Fix IDE taskfile with cfq scheduler
drivers/ide/ide-atapi.c | 2 +- drivers/ide/ide-dma.c | 1 + drivers/ide/ide-io.c | 2 +- drivers/ide/ide-taskfile.c | 6 ++---- include/linux/ide.h | 1 + 5 files changed, 6 insertions(+), 6 deletions(-)
Quoted 5 lines · David Miller
2) taskfile ops with CFQ scheduler bomb because the taskfile code allocates a request then changes it's direction (e.g. READ vs. WRITE) and this makes CFQ explode. Fix by allocating the correct request type from the beginning. From Mikulas Patocka.
Hmm. Isn't this -stable material too? At least ide-taskfile.c hasn't changed since 2.6.33?
Or is the cfq behavior new, and nobody simply cared before? I looked a bit at the cfq changes since 2.6.33, and none of them seemed to be relevant. But I didn't look very closely.
Hmm?
Linus
From: Linus Torvalds <[email protected]>
Date: Thu, 8 Apr 2010 08:02:45 -0700 (PDT)
Quoted 11 lines · David Miller
Quoted 5 lines
2) taskfile ops with CFQ scheduler bomb because the taskfile code allocates a request then changes it's direction (e.g. READ vs. WRITE) and this makes CFQ explode. Fix by allocating the correct request type from the beginning. From Mikulas Patocka.
Hmm. Isn't this -stable material too? At least
ide-taskfile.chasn't changed since 2.6.33?
Absolutely and it's in my queue of things to send to Greg KH and co. once you suck this in.