Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alan Cox
Date: Tuesday, June 24, 2008 - 5:32 am

> I don't see a reliable way to fix ide_abort() - once the request/command

It depends on the ATA version what you do but you end up doing a reset
sequence without waiting for the existing command to finish if your drive
is too new to have IDLE IMMEDIATE. What you can't do is wait for the
command to finish before issuing a reset because it may never finish.

I don't see why you think it's "hard". We have timeout handlers for many
commands and those reset/abort just fine.

Alan
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Elias Oltmanns, (Sun Jun 22, 4:23 pm)
[PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Elias Oltmanns, (Sun Jun 22, 4:28 pm)
[PATCH 2/4] IDE: Remove unused code, Elias Oltmanns, (Sun Jun 22, 4:32 pm)
[PATCH 3/4] Update documentation of HDIO_DRIVE_RESET ioctl, Elias Oltmanns, (Sun Jun 22, 4:35 pm)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Elias Oltmanns, (Mon Jun 23, 12:47 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Alan Cox, (Mon Jun 23, 2:16 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Alan Cox, (Mon Jun 23, 2:18 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Bartlomiej Zolnierki ..., (Mon Jun 23, 3:41 pm)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Bartlomiej Zolnierki ..., (Mon Jun 23, 3:41 pm)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Bartlomiej Zolnierki ..., (Mon Jun 23, 3:47 pm)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Elias Oltmanns, (Tue Jun 24, 12:12 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Elias Oltmanns, (Tue Jun 24, 12:23 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Bartlomiej Zolnierki ..., (Tue Jun 24, 4:06 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Alan Cox, (Tue Jun 24, 5:32 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Bartlomiej Zolnierki ..., (Tue Jun 24, 6:21 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Alan Cox, (Tue Jun 24, 6:35 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Bartlomiej Zolnierki ..., (Tue Jun 24, 7:19 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Bartlomiej Zolnierki ..., (Tue Jun 24, 7:33 am)