public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Wilcox <matthew@wil.cx>
To: "Zhao, Forrest" <forrest.zhao@intel.com>
Cc: linux-scsi@vger.kernel.org, "Caushik, Ramesh" <ramesh.caushik@intel.com>
Subject: Re: One question about SCSI device hotplug
Date: Tue, 1 Mar 2005 14:46:04 +0000	[thread overview]
Message-ID: <20050301144604.GJ28741@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <8126E4F969BA254AB43EA03C59F44E840184FB09@pdsmsx404>

On Tue, Mar 01, 2005 at 05:06:55PM +0800, Zhao, Forrest wrote:
> If I surprisingly hot-remove a SCSI disk from HBA manually 
> without executing "echo "scsi remove-single-device
>  <h> <b> <t <l>" > /proc/scsi/scsi", can the "hotplug"
> event be notified to SCSI mid-layer or user space?
> 
> I briefly browse some code of LLDD, it seems that LLDD never
> report "hotplug" event to upper-level layer. Am I right?

I don't think it *can* ... the SCSI protocols don't tell the host "hey,
this device has disappeared".

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

  reply	other threads:[~2005-03-01 14:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-01  9:06 One question about SCSI device hotplug Zhao, Forrest
2005-03-01 14:46 ` Matthew Wilcox [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-01 15:20 Nagpure, Dinesh
2005-03-01 16:35 James.Smart
2005-03-02  4:42 ` Matt Domsch
2005-03-02  3:40 Rajat  Jain, Noida
2005-03-02  4:47 Zhao, Forrest
2005-03-02  4:57 ` Matt Domsch
2005-03-02  5:33 Zhao, Forrest
2005-03-02 15:51 James.Smart

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=20050301144604.GJ28741@parcelfarce.linux.theplanet.co.uk \
    --to=matthew@wil.cx \
    --cc=forrest.zhao@intel.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=ramesh.caushik@intel.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