summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/common
AgeCommit message (Collapse)AuthorFilesLines
2018-05-149125 mdb's ::zfs_params needs updatingloli10K1-44/+164
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-05-149518 mdb conn_status doesn't do port byte order conversionYuri Pankov1-3/+5
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com> Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-05-119525 kmem_dump_size is a corrupting influenceJohn Levon1-36/+58
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@joyent.com>
2018-04-109210 remove KMDB branch debugging supportJohn Levon14-316/+37
9211 ::crregs could do with cr2/cr3 support 9209 ::ttrace should be able to filter by thread Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Gordon Ross <gwr@nexenta.com>
2018-04-049044 Need support for mpt_sas tri-mode partsRobert Mustacchi1-1/+41
9045 Clean up mpt_sas compiler warnings 9046 mptsas_handle_topo_change can return without its locks held 9047 workaround SAS3408 firmware issue Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com> Reviewed by: Albert Lee <trisk@forkgnu.org> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-04-049112 Improve allocation performance on high-end systemsPaul Dagnelie1-4/+7
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com> Reviewed by: Alexander Motin <mav@FreeBSD.org> Approved by: Gordon Ross <gwr@nexenta.com>
2018-04-029238 ZFS Spacemap Encoding V2Serapheim Dimitropoulos1-43/+99
Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <gwilson@zfsmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
2018-03-269336 addr::conn_status crashes mdbAndy Fiddaman1-2/+5
Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Dominik Hassler <hadfl@omniosce.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-03-219280 Assertion failure while running removal_with_ganging test with 4K devicesMatt Ahrens1-1/+1
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2018-03-149166 zfs storage pool checkpointSerapheim Dimitropoulos1-29/+38
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-02-159091 MDB smart-writeSerapheim Dimitropoulos3-4/+189
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Prashanth Sreenivasa <pks@delphix.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-139075 Improve ZFS pool import/load process and corrupted pool recoveryPavel Zakharov1-0/+3
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2018-01-108948 libtopo mdb module needs generic topo_list_t walkerRob Johnston1-2/+49
Reviewed by: David Höppner <0xffea@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2018-01-107614 zfs device evacuation/removalPrashanth Sreenivasa1-2/+22
Reviewed by: Alex Reece <alex@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Richard Laager <rlaager@wiktel.com> Reviewed by: Tim Chase <tim@chase2k.com> Approved by: Garrett D'Amore <garrett@damore.org>
2017-10-318674 mdb txg_list walker is not using CTFJason King1-3/+10
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-10-058672 proc_t changes broke genunix dmods and walkerRyan Zezeski4-59/+169
8673 mdb_pid2proc() and consumers should honor return type Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Yuri Pankov <yuripv@gmx.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-07-188449 mdb inserts spurious newlines in wrapped input linesBryan Cantrill1-7/+96
Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Dave Pacheco <dap@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Yuri Pankov <yuripv@gmx.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-06-228344 libc ulwp walker should use CTF for uberdata offsetsJason King1-3/+10
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-06-125428 provide fts(), reallocarray(), and strtonum()Yuri Pankov6-19/+14
Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2017-05-188021 ARC buf data scatter-izationDan Kimmel1-1/+0
8100 8021 seems to cause random BAD TRAP: type=d (#gp General protection) Reviewed by: Matthew Ahrens mahrens@delphix.com Reviewed by: George Wilson george.wilson@delphix.com Reviewed by: Paul Dagnelie pcd@delphix.com Reviewed by: John Kennedy john.kennedy@delphix.com Reviewed by: Prakash Surya prakash.surya@delphix.com Reviewed by: Prashanth Sreenivasa pks@delphix.com Reviewed by: Pavel Zakharov pavel.zakharov@delphix.com Reviewed by: Chris Williamson chris.williamson@delphix.com Approved by: Richard Lowe <richlowe@richlowe.net>
2017-04-25backout: 8021 ARC buf data scatter-ization (causes 8100)Robert Mustacchi1-0/+1
2017-04-218021 ARC buf data scatter-izationDan Kimmel1-1/+0
Reviewed by: Matthew Ahrens mahrens@delphix.com Reviewed by: George Wilson george.wilson@delphix.com Reviewed by: Paul Dagnelie pcd@delphix.com Reviewed by: John Kennedy john.kennedy@delphix.com Reviewed by: Prakash Surya prakash.surya@delphix.com Reviewed by: Prashanth Sreenivasa pks@delphix.com Reviewed by: Pavel Zakharov pavel.zakharov@delphix.com Reviewed by: Chris Williamson chris.williamson@delphix.com Approved by: Richard Lowe <richlowe@richlowe.net>
2017-04-138024 mdb_ctf_vread() needn't be so strict about unionsSerapheim Dimitropoulos1-19/+42
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-03-101979 USB 3.0 supportRobert Mustacchi4-12/+112
7918 want usb_pipe_xopen(9F) 7919 usbai burst macros for endpoint descriptor are wrong 7920 usba_hcdi_register() should fail if driver is using private data 7921 failing to load the usba root hub module destroys driver parent private data 7922 want ::hubd walker 7923 ::prtusb should include version 7924 usb_*_request(9S) manual pages should match structure names Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Dale Ghent <daleg@omniti.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2017-02-227812 Remove gender specific languageDaniel Hoffman2-2/+4
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-227898 mdb's ::netstat doesn't print UDP conn_t pointer correctlyDan McDonald1-5/+6
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Igor Kozhukhov <igor@dilos.org> Approved by: Robert Mustacchi <rm@joyent.com>
2017-01-297748 kmdb_fault() continuously prints that it's trying to enter safe modePatrick Mooney1-3/+3
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-01-147687 mdb cross-module dcmd calls fail in CTF lookupGordon Ross1-4/+37
Reviewed by: Evan Layton <evan.layton@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2017-01-116396 remove SVMYuri Pankov18-2669/+0
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2016-12-157613 ms_freetree[4] is only used in syncing contextMatthew Ahrens1-13/+19
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Alex Reece <alex@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-11-267575 mdb autoformatter emits an unexpected leading \n when printing large, ↵Steve Gonczi1-0/+11
formatted strings Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-11-237303 dynamic metaslab selectionGeorge Wilson1-15/+193
Reviewed by: Alex Reece <alex@delphix.com> Reviewed by: Chris Siden <christopher.siden@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Don Brady <don.brady@intel.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-11-187543 ::spa -h should show free space histogram for whole poolSteve Gonczi1-33/+67
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-09-295969 update illumos-gate to use python2.7Alexander Pyhalov1-5/+5
Portions contributed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Andrew Stormont <astormont@racktopsystems.com> Reviewed by: Albert Lee <trisk@omniti.com> Reviewed by: Adam Stevko <adam.stevko@gmail.com> Approved by: Gordon Ross <gwr@nexenta.com>
2016-08-267299 want dnlc walker for mdbPatrick Mooney4-1/+142
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-08-227270 mdb can die on divide overflowBryan Cantrill1-1/+10
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2016-08-197236 libumem should be able to abort() when an allocation failsDan Kimmel1-1/+2
Reviewed by: Alex Reece <alex@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Basil Crow <basil.crow@delphix.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-07-207098 ::prtconf could filter by attached driver nameRobert Mustacchi4-16/+57
Reviewed by: Joshua M. Clulow <jmc@joyent.com> Approved by: Matthew Ahrens <mahrens@delphix.com>
2016-07-207099 mdb could illuminate proc_t flagsJoshua M. Clulow1-1/+84
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Simon Klinkert <simon.klinkert@gmail.com> Reviewed by: Michael Speer <michael.speer@pluribusnetworks.com> Approved by: Matthew Ahrens <mahrens@delphix.com>
2016-07-146950 ARC should cache compressed dataGeorge Wilson4-4/+451
Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Don Brady <don.brady@intel.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-07-077156 i40e dmod shouldn't build on SPARCRobert Mustacchi1-114/+0
Reviewed by: Alexander Eremin <a.eremin@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-06-147063 64-bit mdb has trouble printing doublesRobert Mustacchi1-5/+22
Reviewed by: Dave Pacheco <dap@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2016-06-145115 Want Intel 40GbE NIC driver for illumosRobert Mustacchi1-0/+114
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-06-097060 mdb -e doesn't properly report exit status for failed writesCody Peter Mello1-3/+2
Reviewed by: Joshua M. Clulow <jmc@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
2016-06-096314 buffer overflow in dsl_dataset_nameMatthew Ahrens1-5/+5
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-06-087066 ::dump uses incredibly annoying syntax for specifying lengthDan Kimmel1-5/+13
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
2016-05-196951 Initial c11 supportRobert Mustacchi1-3/+8
6952 gets should not be visible in C11 6953 add support for c11 threads api 6954 Symbols test should support validating pre-processor symbols Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Garrett D'Amore <garrett@damore.org>
2016-03-316836 writes to /dev/kmem should be logged to a ring bufferBryan Cantrill1-0/+140
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
2016-03-316833 ::memstat should account for bootpages listJoshua M. Clulow1-2/+14
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Dan McDonald <danmcd@omniti.com>
2016-03-285895 mdb_alloc() succeeds for 4294967295 bytes in 32-bit processRobert Mustacchi2-5/+19
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Dave Pacheco <dap@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>