: IDE
The revert we thought we didn't need, we really do need still, even with Bart Z.'s fix.
The issue is that we are doing these PIO setting calls before we did the device probe and therefore we don't yet know the media type.
Yet the ->set_pio_mode() of some drivers key off of the media type to determine whether to turn prefetching etc. on so it can't possibly work properly.
Please pull, thanks!
The following changes since commit 7c9abfb884b8737f0afdc8a88bcea77526f0da87:
Linus Torvalds (1):
Merge branch 'kvm-updates/2.6.32' of git://git.kernel.org/pub/scm/virt/kvm/kvm
are available in the git repository at:
master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6.git master
David S. Miller (1):
Revert "ide: try to use PIO Mode 0 during probe if possible"
drivers/ide/ide-probe.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-)
Quoted 10 lines · On Monday 09 November 2009 06:30:55 David Miller wrote:
The revert we thought we didn't need, we really do need still, even with Bart Z.'s fix.
The issue is that we are doing these PIO setting calls before we did the device probe and therefore we don't yet know the media type.
Yet the ->set_pio_mode() of some drivers key off of the media type to determine whether to turn prefetching etc. on so it can't possibly work properly.
Thanks for quick reaction to the revert request.
If somebody is interested in the proper way to fix it you just need to add ide_unknown media type and set it before probe instead of ide_disk one. Then audit ->set_pio_mode implementations for potential gotchas.
[ However it is too late for -rc and nobody is currently working on
IDE fixes anyway so I just requested the revert . ]
Signature · 1 line
Bartlomiej Zolnierkiewicz