From: Christoph Hellwig <hch@infradead.org>
To: Lee Xing <lxing@Crossroads.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Help - can Linux SCSI sub-system add newly-attached devices to/dev on the fly?
Date: Thu, 20 May 2004 19:07:40 +0100 [thread overview]
Message-ID: <20040520190740.A10863@infradead.org> (raw)
In-Reply-To: <519672568F040C41B6FAC21ADF51B18FEFFE@mailnode1.commstor.crossroads.com>; from lxing@Crossroads.com on Thu, May 20, 2004 at 01:04:10PM -0500
> Does any one know if lk2.4 has **any other ways** low-level drivers can use to notify mid-layer the changes on the attached devices on the fly?
No. In 2.4.x even the /proc/scsi/scsi variant from userspace is a bug
strictly speaking because any touching of the device list will be racy.
If you want my 2cent as one of the persons who rewrote large portions of
the scsi midlayer during 2.6 in that area: don't use 2.4.x for any product
that requires dynamic addition/removal of any devices.
Btw, what kind of driver are you working on? Judging from your mails and
the Crossroads websistes I guess it's yet another iSCSI initiator. In that
case helping one of the existing projects might make more sense..
next prev parent reply other threads:[~2004-05-20 18:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-20 18:04 Help - can Linux SCSI sub-system add newly-attached devices to/dev on the fly? Lee Xing
2004-05-20 18:07 ` Christoph Hellwig [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-20 19:38 Lee Xing
2004-05-20 20:01 ` 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=20040520190740.A10863@infradead.org \
--to=hch@infradead.org \
--cc=linux-scsi@vger.kernel.org \
--cc=lxing@Crossroads.com \
/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