From: arjan@fenrus.demon.nl
To: hiren_mehta@agilent.com (MEHTA,HIREN A-SanJose,ex1)
Cc: linux-kernel@vger.kernel.org
Subject: Re: spin locks and timers in scsi hba driver
Date: Mon, 15 Oct 2001 23:10:40 +0100 [thread overview]
Message-ID: <E15tFwW-0004rw-00@fenrus.demon.nl> (raw)
In-Reply-To: <01A7DAF31F93D511AEE300D0B706ED9208E495@axcs13.cos.agilent.com>
In article <01A7DAF31F93D511AEE300D0B706ED9208E495@axcs13.cos.agilent.com> you wrote:
> Hi List,
> I want to make sure that my hba-driver timers do run
> when the uppar scsi-layer calls any of the error handler entry points
> and while I am still doing the error handling. As I know, scsi-layer
> calls spin_lock_irqsave(&io_request_lock, flags) before calling the
> error handlers and they call spin_unlock_irqrestore(&io_request_lock, flags)
> after returning from the error handlers. So, inside the error handlers,
> I call spin_unlock_irq(&io_request_lock); wait for the timers to run,
> and the again call spin_lock_irq(&io_request_lock).
well interrupts are still disabled...
Could you give an URL to the source of your driver so that I and others can
see what you really are trying to do ?
Greetings,
Arjan van de Ven
next prev parent reply other threads:[~2001-10-15 22:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-15 22:01 MEHTA,HIREN (A-SanJose,ex1)
2001-10-15 22:10 ` arjan [this message]
2001-10-15 22:44 MEHTA,HIREN (A-SanJose,ex1)
2001-10-16 6:52 ` Arjan van de Ven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E15tFwW-0004rw-00@fenrus.demon.nl \
--to=arjan@fenrus.demon.nl \
--cc=hiren_mehta@agilent.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®