summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/comstar
AgeCommit message (Collapse)AuthorFilesLines
2022-02-225513 KM_NORMALPRI should be documented in kmem_alloc(9f) and ↵Dan McDonald1-1/+1
kmem_cache_create(9f) man pages 14465 Present KM_NOSLEEP_LAZY as documented interface Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2022-01-2514393 stmf_sbd: build errors with gcc 11Toomas Soome1-4/+4
Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-03-1013587 stmf_sbd: array subscript 8 is above array boundsToomas Soome1-2/+8
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-03-0113585 stmf: array subscript is above array boundsToomas Soome1-2/+4
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-04-2412592 stmf_sbd: panic in _init on sparcToomas Soome1-3/+3
Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Yuri Pankov <ypankov@fastmail.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2020-03-1612350 Add support for Emulex LPe31000 and LPe32000 fibre channel chipsetsPaul Winder1-0/+6
12351 Remove the 32bit DMA restrictions in the emlxs driver Reviewed by: Garrett D'Amore <gdamore@racktopsystems.com> Reviewed by: Albert Lee <alee@racktopsystems.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-12-0212036 iscsi: zpool create pool fails to create labelJerry Jelinek1-2/+4
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-11-1811820 upstream Nexenta iSCSI and COMSTAR fixesRick McNeal20-1199/+3282
Portions contributed by: Albert Lee <trisk@nexenta.com> Portions contributed by: Alex Deiter <alex.deiter@nexenta.com> Portions contributed by: Bayard G. Bell <bayard.bell@nexenta.com> Portions contributed by: Dan Fields <dan.fields@nexenta.com> Portions contributed by: Dan McDonald <danmcd@nexenta.com> Portions contributed by: Dmitry Gromada <dmitry.gromada@nexenta.com> Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: kcrowenex <kevin.crowe@nexenta.com> Portions contributed by: Matt Barden <matt.barden@nexenta.com> Portions contributed by: Michael Tsymbalyuk <michael.tsymbalyuk@nexenta.com> Portions contributed by: Rob Gittins <rob.gittins@nexenta.com> Portions contributed by: Steve Ma <steve.ma@nexenta.com> Portions contributed by: Tony Nguyen <tony.nguyen@nexenta.com> Portions contributed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Jean McCormack <jean.mccormack@nexenta.com> Reviewed by: Josef Sipek <josef.sipek@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Reviewed by: Marcel Telka <marcel.telka@nexenta.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Max Grossman <max.grossman@delphix.com> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Reviewed by: Rob Gittins <rob.gittins@nexenta.com> Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Reviewed by: Steve Peng <steve.peng@nexenta.com> Reviewed by: tim Jacobson <tim.jacobson@nexenta.com> Reviewed by: Tony Nguyen <tony.nguyen@nexenta.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-258727 Native data and metadata encryption for zfsTom Caputi1-2/+2
Portions contributed by: Jorgen Lundman <lundman@lundman.net> Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Paul Zuchowski <pzuchowski@datto.com> Portions contributed by: Tim Chase <tim@chase2k.com> Portions contributed by: Matthew Ahrens <mahrens@delphix.com> Portions contributed by: ab-oe <arkadiusz.bubala@open-e.com> Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Portions contributed by: loli10K <ezomori.nozomu@gmail.com> Portions contributed by: Igor K <igor@dilos.org> Portions contributed by: Richard Laager <rlaager@wiktel.com> Reviewed by: Jason Cohen <jwittlincohen@gmail.com> Reviewed by: Allan Jude <allanjude@freebsd.org> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: RageLtMan <rageltman@sempervictus> Reviewed by: Matthew Thode <prometheanfire@gentoo.org> Reviewed by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed by: Kash Pande <kash@tripleback.net> Reviewed by: Alek Pinchuk <apinchuk@datto.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: David Quigley <david.quigley@intel.com> Reviewed by: Jorgen Lundman <lundman@lundman.net> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Garrett D'Amore <garrett@damore.org>
2019-04-2510805 Fix for 10687 can be improvedJohn Levon1-2/+2
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
2019-04-1910661 qlt: NULL pointer errorsToomas Soome1-10/+10
Reviewed by: Gergő Doma <domag02@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-1310689 srpt_cm_conn_closed_hdlr() needs a smatch fixJohn Levon1-10/+10
Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-1110686 Debug macros causes smatch issuesJohn Levon1-5/+9
Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-1010663 stmf_sbd: NULL pointer errorsToomas Soome2-6/+6
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-1010662 iscsit: NULL pointer errorsToomas Soome2-22/+22
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-0510656 stmf: NULL pointer errorsToomas Soome1-22/+22
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-2810573 define TASKQID_INVALID as (taskq_id)0Toomas Soome3-3/+4
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-12-219689 zfs range lock code should not be zpl-specificMatthew Ahrens1-22/+21
Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-09-201700 Add SCSI UNMAP supportSaso Kiselkov3-29/+53
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Dan McDonald <danmcd@joyent.com>
2018-05-179539 Make zvol operations use _by_dnode routinesRichard Yao2-22/+25
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Rick McNeal <rick.mcneal@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-10-278742 potential iscsi panicTim Kordas2-12/+30
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Albert Lee <trisk@forkgnu.org>
2017-07-295980 in-kernel inet_ntop should format IPv4 addresses like userland oneYuri Pankov1-15/+3
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-06-198394 fcoet: array subscript is above array boundsToomas Soome2-5/+5
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2016-05-176938 STMF kstat free is using an improper size for kmem_free().Dan McDonald1-3/+2
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Gordon Ross <gordon.ross@nexenta.com>
2016-04-036740 ISCSI_OP_SCSI_RSP needs supportRick McNeal3-6/+24
Reviewed by: Rob Gittins <rob.gittins@nexenta.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-03-306761 fcinfo hba-port doesn't get correct supported speeds and connection ↵Tony Nguyen1-9/+13
speed for 16Gb target ports Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Steve Peng <steve.peng@nexenta.com> Reviewed by: Rob Gittins <rob.gittins@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
2016-03-252902 iscsit should fold the case of scsi names that we get from initiatorsYuri Pankov1-7/+72
Reviewed by: Steve Peng <steve.peng@nexenta.com> Reviewed by: Rob Gittins <rob.gittins@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-02-276659 nvlist_free(NULL) is a no-opJosef 'Jeff' Sipek4-14/+7
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com>
2014-11-105255 uts shouldn't open-code ISP2Josef 'Jeff' Sipek2-2/+4
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-10-075175 implement dmu_read_uio_dbuf() to improve cached read performanceMatthew Ahrens1-6/+3
Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Alex Reece <alex.reece@delphix.com> Reviewed by: George Wilson <george@delphix.com> Reviewed by: Richard Elling <richard.elling@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-08-125047 don't use atomic_*_nv if you discard the return valueJosef 'Jeff' Sipek1-2/+2
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-08-125046 comstar: use the correct type instead of casting all the timeJosef 'Jeff' Sipek1-7/+5
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Eric Diven <eric.diven@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-08-125045 use atomic_{inc,dec}_* instead of atomic_add_*Josef 'Jeff' Sipek8-73/+72
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Robert Mustacchi <rm@joyent.com>
2014-05-144780 comstar iSCSI target shouldn't abuse ddi_get_time(9f)Josef 'Jeff' Sipek1-4/+4
Reviewed by: Eric Diven <eric.diven@delphix.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-01-173105 Kernel inet_pton() implementation returns result in host byte orderYuri Pankov1-30/+7
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Robert Mustacchi <rm@joyent.com>
2014-01-164458 iscsit discovery reply should be more strict WRT TPGsYuri Pankov3-38/+61
Reviewed by: Eric Diven <eric.diven@delphix.com> Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2013-11-141872 NULL pointer dereference in iscsitDan McDonald1-1/+13
Reviewed by: Eric Diven <eric.diven@delphix.com> Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2013-07-083866 panic in idm moduleJeff Biseda1-3/+4
3867 stmfCreateLu failed: GUID_IN_USE 3868 iscsi target not accepting any new connections Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Jeremy Jones <jeremy@delphix.com> Reviewed by: Eric Diven <eric.diven@delphix.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: T Nguyen <truongqnguien@gmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
2013-07-073862 stmf + kstat = kernel panicJeff Biseda5-569/+20
3863 stmf_itl_task_start() must check for ilu->ilu_kstat_io is non-null 3864 memory leak in the iSCSI code Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Jeremy Jones <jeremy@delphix.com> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Richard Elling <richard.elling@gmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
2013-07-023775 Upstreaming of ALUA use-after-free fixes from NexentaDan McDonald3-10/+23
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com> Reviewed by: T Nguyen <truongqnguien@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2013-06-093505 Creating LU unconditionally enables write cache on backing store deviceYuri Pankov1-27/+24
Reviewed by: Vitaliy Gusev <vitaliy.gusev@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Ricard Lowe <richlowe@richlowe.net>
2013-05-233621 ZFS LU stuck in the offlining stateSaso Kiselkov2-2/+55
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Jeff Biseda <jeff.biseda@delphix.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Approved by: Christopher Siden <christopher.siden@delphix.com>
2012-07-26653 incorrect handling in iscsit of duplicate PDUs with cmdsn > expsnDan McDonald1-6/+17
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Reviewed by: Vitaliy Gusev <gusev.vitaliy@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-02-132083 stmf: worker manager doesn't scale workers anymoreAlexander Stetsenko1-18/+25
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Milan Jurik <milan.jurik@xylab.cz> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-01-27968 fct driver sets incorrect fc-ct revisionDan McDonald1-1/+2
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: Mathieu Simon <mathieu.simon@simweb.ch> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Milan Jurik <milan.jurik@xylab.cz> Reviewed by: Richard Elling <richard.elling@richardelling.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-08-181385 iscsi target drops due to taskqGarrett D'Amore1-11/+5
Reviewed by: Jason Brian King <jason.brian.king@gmail.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Dmitry Yusupov <dmitry@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Eric Shrock <eric.schrock@delphix.com>
2011-05-19937 WRITE_SAME support for COMSTARDan McDonald2-14/+331
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Richard Elling <richard.elling@richardelling.com> Reviewed by: Robert Gordon <rbg@openrbg.com> Approved by: Gordon Ross <gwr@nexenta.com>
2011-03-04701 UNMAP support for COMSTARDan McDonald3-24/+301
Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Reviewed by: George Wilson <gwilson@zfsmail.com> Approved by: Garrett D'Amore <garrett@nexenta.com>
2011-02-17434 kernel crash dump on comstar iscsitAlexander Stetsenko2-178/+199
Reviewed by: garrett@nexenta.com Reviewed by: trisk@nexenta.com Reviewed by: danmcd@nexenta.com Approved by: garrett@nexenta.com
2011-02-02573 stmfadm doesn't display target and initiator aliases for iscsitYuri Pankov3-0/+24
Reviewed by: garrett@nexenta.com Reviewed by: deano@rattie.demon.co.uk Approved by: garrett@nexenta.com