summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/scsi
AgeCommit message (Collapse)AuthorFilesLines
2018-02-169090 ses: using integer constants in boolean context, the expression will ↵Toomas Soome1-2/+5
always evaluate to 'true' Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-049024 rework PV-HVM disk device handlingYuri Pankov1-35/+2
Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-10-128665 Need support for LSI 9305-24iRobert Mustacchi2-11/+23
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com> Reviewed by: Ken Mays <maybird1776@yahoo.com> Reviewed by: Yuri Pankov <yuripv@gmx.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-07-295980 in-kernel inet_ntop should format IPv4 addresses like userland oneYuri Pankov1-36/+46
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Vitaliy Gusev <gusev.vitaliy@icloud.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-07-128346 SES topology information needs to search STP Bridge portsRobert Mustacchi1-2/+136
8347 mpt_sas needs to set bridge-port property for SATA devices 8348 mptsas_handle_topo_change() can return without locks held Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-06-037751 mpt_sas sometimes times out sending SEP messagesRobert Mustacchi2-14/+223
Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-03-157940 provide device-rotational propertyYuri Pankov1-15/+29
Reviewed by: James Blachly <james.blachly@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-03-037926 enable gcc warnings for sdHans Rosenfeld2-113/+97
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@omniti.com>
2017-03-027901 Devices that do not support setting WC keep generating ereportsJeffry Molanus1-234/+232
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2017-02-277811 dont send obsolete mode pages to SSDs, SATA, SBC2 and later conforming ↵Alek Pinchuk1-1/+12
devices Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-02-227812 Remove gender specific languageDaniel Hoffman3-4/+5
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Steve Gonczi <steve.gonczi@delphix.com> Reviewed by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-02-025698 panic in mpt_sas: vmem_hash_delete(ffffff1aa3456000, 1, 8): bad freeMarcel Telka1-37/+97
Reviewed by: Dan Fields <danfields@fastmail.us> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2016-08-117220 devfs_clean() callers shouldn't rely on its return valueYuri Pankov1-6/+1
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-01-086256 mptsas: deadlock in mptsas_handle_topo_changeDan Fields1-4/+10
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: Albert Lee <trisk@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-11-056299 SATA inquiry property generation doesn't work as advertisedHans Rosenfeld1-24/+2
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
2015-09-166119 mptsas doesn't handle timeouts in mptsas_get_sata_guid()Hans Rosenfeld2-71/+128
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Albert Lee <trisk@omniti.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
2014-12-055297 mptsas refhash replacement on reset can cause hangKeith M Wesolowski1-13/+13
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Andy Giles <illumos@ang.homedns.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-12-015017 use 64bit DMA in mpt_sasAndy Giles4-71/+106
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-11-145016 improve mpt_sas auto request senseAndy Giles1-191/+325
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gwr@nexenta.com>
2014-10-025015 improvements to mpt_sas debug logging and mdb moduleAndy Giles3-23/+63
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-08-125081 mpt_sas watchdog timout needs to be initialized earlierAndy Giles1-27/+50
5080 potential memory leak in mpt_sas Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-07-214546 mpt_sas needs enhancing to support LSI MPI2.5Andy Giles4-438/+1338
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gwr@nexenta.com>
2014-06-094888 Undocument dma_req(9s)Garrett D'Amore4-31/+3
4884 EOF scsi_hba_attach 4886 EOF ddi_dmae_getlim 4887 EOF ddi_iomin 4634 undocument scsi_hba_attach() and ddi_dma_lim(9s) 4630 clean stale references to ddi_iopb_alloc and ddi_iopb_free Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-05-144781 sd shouldn't abuse ddi_get_time(9f)Josef 'Jeff' Sipek1-7/+5
Reviewed by: Richard Elling <richard.elling@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-05-144779 vhci shouldn't abuse ddi_get_time(9f)Josef 'Jeff' Sipek1-8/+10
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-04-294819 fix mpt_sas command timeout handlingAlbert Lee1-130/+149
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-03-244682 panic in mptsas refhashKeith M Wesolowski1-1/+16
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2014-03-034403 mpt_sas panic when pulling a driveDan McDonald2-11/+46
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Andy Giles <illumos@ang.homedns.org> Approved by: Robert Mustacchi <rm@joyent.com>
2014-02-264623 Remove -Wno-unused-label from mpt_sasDan McDonald1-1/+0
Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-01-224500 mptsas_hash_traverse() is unsafe, leads to missing devicesKeith M Wesolowski4-571/+586
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2014-01-173105 Kernel inet_pton() implementation returns result in host byte orderYuri Pankov2-19/+8
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Robert Mustacchi <rm@joyent.com>
2013-12-231787 SATL fails to handle returned SMART sense dataYuri Pankov2-55/+72
Reviewed by: Richard Elling <richard.elling@richardelling.com> Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Robert Mustacchi <rm@joyent.com>
2013-12-164335 need a mechanism to detect solid state storage devicesGarrett D'Amore1-0/+12
Reviewed by: Keith M Wesolowski <wesolows@foobazco.org> Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Approved by: Dan McDonald <danmcd@nexenta.com>
2013-11-014233 mptsas topo change buffer overflowHans Rosenfeld2-71/+88
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2013-10-073195 mpt_sas IOC reset races can cause panicsAlbert Lee1-8/+33
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Approved by: Garrett D'Amore <garrett.damore@gmail.com>
2013-09-284018 mpt_sas: allow physical topology enumeration in libtopoJoshua M. Clulow1-72/+239
4019 mpt_sas: expose LED controls to libtopo Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2013-09-184112 sd should apply sd_io_time tunable to non-optical devicesKeith M Wesolowski1-6/+15
4113 sd.conf tunable enhancements Reviewed by: Garrett D'Amore <garrett@dey-sys.com> Approved by: Albert Lee <trisk@nexenta.com>
2013-08-133994 uscsi_timeout of 0 sent to ses target driver can hang processes in ↵Kevin Crowe1-1/+5
biowait with a cmd stuck in HBA. Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2013-08-084013 backout 6910752/6968206: needs more workKeith M Wesolowski3-1221/+502
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com>
2013-02-193515 sd gives RMW warnings for readsHans Rosenfeld1-16/+12
Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-07-083063 many instances of unlike enum comparisonRichard Lowe1-2/+2
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-05-292777 mpt_sas needs to try MUR reset at attach() time.Dan McDonald2-5/+15
Reviewed by: Richard Elling <richard.elling@gmail.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Gordon Ross <Gordon.Ross@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Garrett D'Amore <garrett@damore.org>
2012-05-032665 sd.conf should be able to override physical-block-sizeGeorge Wilson1-7/+32
2671 zpool import should not fail if vdev ashift has increased Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Richard Elling <richard.elling@richardelling.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-03-11998 obsolete DMA driver interfaces should be removedGarrett D'Amore1-1/+2
Reviewed by: Igor Khozhukhov <igor.khozhukhov@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
2012-03-02backout 998: breaks common closed driversRichard Lowe1-2/+1
2012-03-01998 obsolete DMA driver interfaces should be removedGarrett D'Amore1-1/+2
Reviewed by: Igor Khozhukhov <igor.khozhukhov@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-01-231949 crash during reguid causes stale configGeorge Wilson1-0/+13
1953 allow and unallow missing from zpool history since removal of pyzfs 1955 sderr kstat should expand when a LUN is expanded Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Bill Pijewski <wdp@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Garrett D'Amore <garrett.damore@gmail.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Steve Gonczi <gonczi@comcast.net> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-05-151767 sd returns incorrect Q sub-channel dataRichard Lowe1-1/+1
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Albert Lee <trisk@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-05-161754 scsiclass compatible properties with revision info may be erroneously ↵Richard Lowe1-1/+1
created Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2011-05-161654 pmcs should set (now) reserved INQUIRY device type modifier to 0Richard Lowe1-1/+1
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Approved by: Gordon Ross <gwr@nexenta.com>