public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Luben Tuikov <luben@splentec.com>
To: Steve Brueggeman <xioborg@yahoo.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: Should sd REALLY allocate a device for an offline device
Date: Fri, 14 Mar 2003 14:33:59 -0500	[thread overview]
Message-ID: <3E722EA7.7040802@splentec.com> (raw)
In-Reply-To: bj147v0fn10c6duj1n06jo84uurn1i0dvj@4ax.com

Steve Brueggeman wrote:
> There's a managed storage device that reports 0x20 in byte 0 of the
> Inquiry data, which means it's a SCSI_DISK, but the LUN is detached.

The physical device is not currently attached to the LU, but the device
is supported and we know a fait bit about it from the INQUIRY data.

> scan_scsis_single() acknowledgs this, and marks the device as not
> online, and lets the upper level device drivers decide what to do.

This is the right thing to do.

> It is my belief that if a device is not online, the scsi disk driver
> should not allocate a device slot for it.  See the following simple
> patch.  Any thoughts?  It seems obvious to me, but maybe I'm missing
> something.

As was already answered, a device being ``offline'' doesn't mean that's
it's not there.  In the simplest terms it means that the LU device server
cannot process any commands addressed to the physical device at this moment.

-- 
Luben



  reply	other threads:[~2003-03-14 19:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-14 16:50 Should sd REALLY allocate a device for an offline device Steve Brueggeman
2003-03-14 19:33 ` Luben Tuikov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-03-14 18:17 David.Egolf

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=3E722EA7.7040802@splentec.com \
    --to=luben@splentec.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=xioborg@yahoo.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