megaraid sas driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux