Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Elias Oltmanns
Date: Wednesday, June 25, 2008 - 4:23 am

"Bartlomiej Zolnierkiewicz" <bzolnier@gmail.com> wrote:

Yes there are. Still, I think it should be feasible which is why I
personally would prefer to drop the second patch in the series for the
time being. But then I can keep it around for reference locally and the
original infrastructure can be found in the history after all.

Even though the patch series currently doesn't fully restore the
intended functionality, I'd like to merge it now. Command aborting
didn't work reliably (if at all) before and now, at least, a simple
ioctl won't harm a healthy system anymore. Since I think that we can add
command aborting back later, I'd like to keep the HDIO_DRIVE_RESET ioctl
even if it should currently be superfluous given SG_IO.

So, here comes the second run of the patch series based on
next-20080624. All suggested changes have been incorporated except for
one additional check for ->rq_disk which I consider unnecessary (and you
haven't insisted on it). In particular, this means that in the second
patch the ->resetting member has been removed from the ide_hwgroup_t
structure for completeness' sake (even though I'm not all in favour of
applying that second patch just yet).

Regards,

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

Messages in current thread:
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Elias Oltmanns, (Wed Jun 25, 4:23 am)
[PATCH 1/4 v2] IDE: Fix HDIO_DRIVE_RESET handling, Elias Oltmanns, (Wed Jun 25, 4:27 am)
[PATCH 2/4 v2] IDE: Remove unused code, Elias Oltmanns, (Wed Jun 25, 4:28 am)
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling, Bartlomiej Zolnierki ..., (Wed Jun 25, 1:24 pm)