login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
June
»
23
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Bartlomiej Zolnierkiewicz
Subject:
Re: [PATCH] IDE: Fix HDIO_DRIVE_RESET handling
Date: Monday, June 23, 2008 - 3:47 pm
On Monday 23 June 2008, Elias Oltmanns wrote:
quoted text
> Elias Oltmanns <eo@nebensachen.de> wrote: > [...] > > @@ -941,6 +949,7 @@ static ide_startstop_t atapi_reset_pollfunc (ide_drive_t *drive) > > /* done polling */ > > hwgroup->polling = 0; > > hwgroup->resetting = 0; > > Actually, ->resetting needs to be protected by the ide_lock here. > > [...] > > @@ -1005,6 +1014,8 @@ static ide_startstop_t reset_pollfunc (ide_drive_t *drive) > > } > > hwgroup->polling = 0; /* done polling */ > > hwgroup->resetting = 0; /* done reset attempt */ > > Same as above. Unless I have missed something, a simple > > spin_lock(&ide_lock) > > should suffice since there cannot possibly be another interrupt that > changes ->resetting behind our back. I'll send an updated version of > patches 1 and 4 once I have your opinion on the current series.
With patch #1 we may as well just remove ->resetting and allow the next reset request to be added to the queue. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
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)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [patch] e1000=y && e1000e=m regression fix
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Boaz Harrosh
how to use KBUILD_EXTRA_SYMBOLS
Pekka Enberg
Re: [PATCH] include/linux/slab.h: new KFREE() macro.
Brandeburg, Jesse
RE: [regression] e1000e broke e1000 (was: Re: [ANNOUNCE] e1000 toe1000e migration ...
git
:
Bill Lear
cpio command not found
Jing Xue
Re: git rm --cached
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Michael S. Tsirkin
git-kill: rewrite history removing a commit
Johannes Schindelin
Re: [PATCH 1/3 v2] Implement the patience diff algorithm
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Johann Baudy
Packet mmap: TX RING and zero copy
Stephen Hemminger
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors
Oliver Neukum
Re: [RFC] Patch to option HSO driver to the kernel
Paulius Zaleckas
Re: [RFC] Patch to option HSO driver to the kernel
openbsd-misc
:
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Bryan Irvine
Re: DVD burn error: No space left on device
Tomas Bodzar
Re: OpenSMTPd actual development and integration
Siju George
This is what Linus Torvalds calls openBSD crowd
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
git-commits-head
:
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
via82cxxx: add support for VT6415 PCIE PATA IDE Host Controller
Linux Kernel Mailing List
[ARM] mmp: avengers lite (pxa168) board bring up
Linux Kernel Mailing List
USB: remove duplicate entry in Option driver and Pl2303 driver for Huawei modem
Linux Kernel Mailing List
ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range
Colocation donated by:
Syndicate