From: Rakesh <raksac@yahoo.com>
To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
megaraidlinux@lsi.com
Subject: megaraid sas driver
Date: Tue, 8 Apr 2008 13:41:58 -0700 (PDT) [thread overview]
Message-ID: <96296.65150.qm@web30203.mail.mud.yahoo.com> (raw)
I am curious to ask, why were these lines omitted from
the megaraid SAS driver with kernel version 2.6.15
onwards.
In my opinion these were blocking physical disks which
were part of a RAID set on the controller from being
visible to OS. Is this correct?
Thanks,
Rakesh
----------------
megaraid_sas.c
/*
989 * Don't export physical disk
devices to mid-layer.
990 */
991 if (!MEGASAS_IS_LOGICAL(cmd->scmd)
&&
992 (hdr->cmd_status ==
MFI_STAT_OK) &&
993 (cmd->scmd->cmnd[0] ==
INQUIRY)) {
994
995 if (((*(u8 *)
cmd->scmd->request_buffer) & 0x1F) ==
996 TYPE_DISK) {
997 cmd->scmd->result
= DID_BAD_TARGET << 16;
998 exception = 1;
999 }
1000 }
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com
reply other threads:[~2008-04-08 20:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=96296.65150.qm@web30203.mail.mud.yahoo.com \
--to=raksac@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=megaraidlinux@lsi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.