* ide-scsi lock
@ 2004-02-19 13:53 Joilnen Leite
2004-02-19 15:21 ` Jeff Garzik
0 siblings, 1 reply; 3+ messages in thread
From: Joilnen Leite @ 2004-02-19 13:53 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-ide
excuse me friends shcedule_timeout(1) is not a problem
for spin_lock_irqsave ?
drivers/scsi/ide-scsi.c:897
spin_lock_irqsave(&ide_lock, flags);
while (HWGROUP(drive)->handler) {
HWGROUP(drive)->handler = NULL;
schedule_timeout(1);
}
pub 1024D/5139533E Joilnen Batista Leite
F565 BD0B 1A39 390D 827E 03E5 0CD4 0F20 5139 533E
__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ide-scsi lock
2004-02-19 13:53 ide-scsi lock Joilnen Leite
@ 2004-02-19 15:21 ` Jeff Garzik
2004-02-19 16:27 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2004-02-19 15:21 UTC (permalink / raw)
To: Joilnen Leite; +Cc: linux-kernel, linux-ide
Joilnen Leite wrote:
> drivers/scsi/ide-scsi.c:897
>
> spin_lock_irqsave(&ide_lock, flags);
> while (HWGROUP(drive)->handler) {
> HWGROUP(drive)->handler = NULL;
> schedule_timeout(1);
> }
Yep, that's definitely a bug. Good spotting.
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ide-scsi lock
2004-02-19 15:21 ` Jeff Garzik
@ 2004-02-19 16:27 ` Jens Axboe
0 siblings, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2004-02-19 16:27 UTC (permalink / raw)
To: Jeff Garzik; +Cc: Joilnen Leite, linux-kernel, linux-ide
On Thu, Feb 19 2004, Jeff Garzik wrote:
> Joilnen Leite wrote:
> >drivers/scsi/ide-scsi.c:897
> >
> >spin_lock_irqsave(&ide_lock, flags);
> >while (HWGROUP(drive)->handler) {
> > HWGROUP(drive)->handler = NULL;
> > schedule_timeout(1);
> >}
>
>
> Yep, that's definitely a bug. Good spotting.
It's a known bug, Williams patches fix it. Which reminds me...
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-02-19 16:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 13:53 ide-scsi lock Joilnen Leite
2004-02-19 15:21 ` Jeff Garzik
2004-02-19 16:27 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).