From: 'Christoph Hellwig' <hch@infradead.org>
To: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Cc: Mark Haverkamp <markh@osdl.org>, linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: dpt_i2o driver
Date: Tue, 2 Sep 2003 18:00:05 +0100 [thread overview]
Message-ID: <20030902180004.A12229@infradead.org> (raw)
In-Reply-To: <0998F43EAD645A47B3F6507196DD70EA256913@OTCEXC01>; from mark_salyzyn@adaptec.com on Tue, Sep 02, 2003 at 12:41:52PM -0400
On Tue, Sep 02, 2003 at 12:41:52PM -0400, Salyzyn, Mark wrote:
> 'Christoph Hellwig' [mailto:hch@infradead.org] writes:
> >> - use_new_eh_code was initialized thus because some kernels would
> >> have
> >> the (smp) lock, but not the (up) interrupts disabled; by
> >> initializing
> >> after the fact one got consistent io_request_lock behavior. Will
> >> need
> >> to instrument and test the current crop of kernels I build for to
> >> see
> >> if this issue is no longer there.
> >-ENOCONTEXT. Can you quote what this is the reply to?
>
> Context of dropping manual initialization of use_new_eh_code and proc_dir in
> the detect code. The former was a result of a workaround for some errant
> kernel trees; the later was a `mistake' resulting from the structure member
> not being present in all trees thinking that was the only reason for the
> use_new_eh_code's original inclusion. A hack with a penalty, will need to
> dehack and make sure the problem is not present in modern kernels.
Ah, okay. I'm pretty sure 2.2 and 2.4 took io_request_lock with local
irqs disabled and 2.6 doesn't take it at all. But who knows what fucked
up vendor trees are around..
> Hmmm, lets just delete this (mounted) array. I want to take this (mounted)
> drive to expand an array's capacity. This call is used to inform the user
> that the action that one is about to be asked to perform is being blocked
> because it would cause damage to the operating system.
In Linux 2.6 userspace should get hotplug events as soon as the the last
reference is gone and the device is deleted. As the device is freed at
the same time you ioctl won't find it anymore anyway and thus fail..
The hotplug even is picked up by the hotplug script which currently
unfortunately are distro-specific.
next prev parent reply other threads:[~2003-09-02 17:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-02 16:41 dpt_i2o driver Salyzyn, Mark
2003-09-02 17:00 ` 'Christoph Hellwig' [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-02 17:39 Salyzyn, Mark
2003-09-02 17:26 Salyzyn, Mark
2003-09-02 17:34 ` 'Christoph Hellwig'
2003-09-02 17:10 Salyzyn, Mark
2003-09-02 17:14 ` 'Christoph Hellwig'
2003-09-02 13:51 Salyzyn, Mark
2003-09-02 14:00 ` 'Christoph Hellwig'
2003-08-26 17:17 Salyzyn, Mark
2003-08-28 10:11 ` 'Christoph Hellwig'
2003-08-26 15:02 Salyzyn, Mark
2003-08-26 16:51 ` 'Christoph Hellwig'
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=20030902180004.A12229@infradead.org \
--to=hch@infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mark_salyzyn@adaptec.com \
--cc=markh@osdl.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