summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/common
AgeCommit message (Collapse)AuthorFilesLines
2016-03-052976 remove useless offsetof() macrosRichard Lowe2-6/+3
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Andy Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-02-136639 uhci_qh walker contains whacky boolean logicRichard Lowe1-5/+3
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-02-136638 ::pfiles walks out of bounds on array of vnode typesRichard Lowe1-3/+5
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-02-056582 initial reorg adding sys/null.h for 5218Richard PALO2-14/+4
6487 clean up __STDC__ ifdefs in rpcsvc/dbm.h 6563 fmtmsg.h should be simplified and neither define NULL nor _NULL Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Reviewed by: Robert Mustacci <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-11-066399 SMB2 supportGordon Ross1-73/+127
Portions contributed by: Alek Pinchuk <alek@nexenta.com> Portions contributed by: Kevin Crowe <kevin.crowe@nexenta.com> Portions contributed by: Matt Barden <Matt.Barden@nexenta.com> Reviewed by: Alek Pinchuk <alek@nexenta.com> Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Daniel Borek <daniel.borek@nexenta.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Matt Barden <matt.barden@nexenta.com> Reviewed by: Yuri Pankov <Yuri.Pankov@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2015-10-266338 cannot use umem tools on mdb itselfRobert Mustacchi1-3/+1
Reviewed by: Dave Pacheco <dap@joyent.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>
2015-10-261122 smbsrv should use SPNEGO (inbound authentication)Gordon Ross1-1/+2
Portions contributed by: Matt Barden <Matt.Barden@nexenta.com> Portions contributed by: Kevin Crowe <kevin.crowe@nexenta.com> Portions contributed by: Alek Pinchuk <alek@nexenta.com> Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Reviewed by: Dan Fields <dan.fields@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Matt Barden <Matt.Barden@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2015-10-246394 ::mac_flow -s segfaultsRyan Zezeski1-8/+28
Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-10-126316 The `mdb -k' dcmd ::nce will segfault when run multiple timesCody Peter Mello1-1/+1
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Matthew Ahrens <mahrens@delphix.com>
2015-10-106289 ::dbuf dcmd misaligned outputJoe Stein1-3/+5
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-10-076273 obytes64 drops despite vnic not being destroyedRobert Mustacchi1-2/+217
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gordon.ross@nexenta.com>
2015-10-035998 mdb_ctf_vread fails in dcmds run via mdb_pwalk_dcmdGordon Ross1-1/+6
Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-09-026173 mdb ought honour the depress of Home and EndJoshua M. Clulow1-10/+69
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Josef Sipek <josef.sipek@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-09-016176 want ::typedef -w to write out CTF containersRobert Mustacchi6-14/+97
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gwr@nexenta.com>
2015-08-314750 mdb ::list command parses arguments incorrectlyCody Peter Mello1-7/+8
Reviewed by: Alex Wilson <alex.wilson@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Dan McDonald <danmcd@omniti.com>
2015-08-316172 ::printf should increment dotRobert Mustacchi1-1/+2
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Dan McDonald <danmcd@omniti.com>
2015-06-095978 5816 causes mdb's ::status message to be further truncatedRobert Mustacchi1-3/+4
Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2015-06-045917 User-mode SMB serverGordon Ross1-42/+37
Authored by: Thomas Keiser <thomas.keiser@nexenta.com> Authored by: Albert Lee <trisk@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Albert Lee <trisk@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-05-165816 mdb '::status' truncates assertion messagesPrakash Surya1-1/+3
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@omniti.com>
2015-05-155883 race in netstack_unregister and zone creationRobert Mustacchi5-6/+61
5884 want zid2zone 5885 want a dcmd for going from netstack id to nestack_t Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gwr@nexenta.com>
2015-05-085900 read-raw, write-raw are dead codeGordon Ross1-2/+0
Reviewed by: Thomas Keiser <thomas.keiser@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@omniti.com>
2015-04-281527 SMB server in non-global zonesGordon Ross1-21/+10
Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Stepan Zastupov <stepan.zastupov@gmail.com> Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Thomas Keiser <thomas.keiser@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2015-03-245696 ::refcount -r does not display info about removal of holdsPrakash Surya1-1/+1
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george@delphix.com> Reviewed by: Paul Dagnelie <paul.dagnelie@delphix.com> Reviewed by: Basil Crow <basil.crow@delphix.com> Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-02-195628 mdb ::regs could print registers from a ucontextJoshua M. Clulow2-5/+20
5629 mdb ::ucontext should print uc_flags symbols Reviewed by: Timothy J Fontaine <tj.fontaine@joyent.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-02-125322 tree connect from Windows 7 failsThomas Keiser1-21/+9
Reviewed by: Gordon Ross <gwr@nexenta.com> Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-02-035527 ::spa_space fails with mdb: couldn't find member dd_phys of type struct ↵Justin T. Gibbs1-19/+18
zfs`dsl_dir' Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-12-315445 Add more visibility via arcstats; specifically arc_state_t stats and ↵Prakash Surya1-4/+10
differentiate between "data" and "metadata" Reviewed by: Basil Crow <basil.crow@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Bayard Bell <bayard.bell@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-12-295408 managing ZFS cache devices requires lots of RAMChris Williamson1-0/+3
Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Don Brady <dev.fs.zfs@gmail.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2014-12-045314 Remove "dbuf phys" db->db_data pointer aliases in ZFSJustin T. Gibbs2-1/+35
Reviewed by: Andriy Gapon <avg@freebsd.org> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Will Andrews <willa@spectralogic.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-12-025368 ARC should cache more metadataMatthew Ahrens1-1/+2
Reviewed by: Alex Reece <alex.reece@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Richard Elling <richard.elling@richardelling.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-11-255341 gcore fails with "no such file or directory" if write fails ... error ↵Keith M Wesolowski4-6/+15
is misleading Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-10-315132 mdb loops forever printing a stack backtraceGordon Ross2-6/+5
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Adam Leventhal <ahl@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2014-10-245231 ::printf doesn't handle enumsJosef 'Jeff' Sipek1-8/+35
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Alex Reece <alex@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-10-244864 update emlxs from source provided by Emulex for 16G FCHans Rosenfeld1-10/+10
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Robert Mustacchi <rm@joyent.com>
2014-10-025015 improvements to mpt_sas debug logging and mdb moduleAndy Giles1-172/+228
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-125042 stop using deprecated atomic functionsJosef 'Jeff' Sipek1-2/+2
Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2014-07-194976 zfs should only avoid writing to a failing non-redundant top-level vdevGeorge Wilson1-110/+314
4977 mdb error in ::spa_space from space_cb() if a metaslab's ms_sm is NULL 4978 ztest fails in get_metaslab_refcount() 4979 extend free space histogram to device and pool 4980 metaslabs should have a fragmentation metric 4981 remove fragmented ops vector from block allocator 4982 space_map object should proactively upgrade when feature is enabled 4983 need to collect metaslab information via mdb 4984 device selection should use fragmentation metric Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Adam Leventhal <adam.leventhal@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2014-07-112964 need POSIX 2008 locale object supportGarrett D'Amore2-46/+103
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gordon Ross <gordon.ross@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-07-024948 mdb does not print enums correctly in a pipelineAlex Reece1-3/+12
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Dan McDonald <danmcd@omniti.com>
2014-06-054390 i/o errors when deleting filesystem/zvol can lead to space map corruptionMatthew Ahrens1-1/+0
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-06-054757 ZFS embedded-data block pointers ("zero block compression")Matthew Ahrens1-2/+2
4913 zfs release should not be subject to space checks Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Max Grossman <max.grossman@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-04-294823 don't open-code NSEC2MSEC and MSEC2NSECJosef 'Jeff' Sipek1-4/+2
Reviewed by: Richard Elling <richard.elling@gmail.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-04-254698 fix builds by gcc44 on sparcIgor Kozhukhov2-6/+6
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@omniti.com>
2014-03-224654 agent LWP evades detection from mdbBryan Cantrill1-6/+25
Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2014-02-254469 DTrace helper tracing should be dynamicBryan Cantrill1-4/+5
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
2014-01-224500 mptsas_hash_traverse() is unsafe, leads to missing devicesKeith M Wesolowski1-89/+112
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2014-01-224499 ::mptsas should show slot/enclosure for targetsJoshua M. Clulow1-2/+4
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Albert Lee <trisk@nexenta.com>
2014-01-214489 need ptcumemRobert Mustacchi4-38/+392
Reviewed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Garrett D'Amore <garrett@damore.org>
2014-01-164297 ::help tab completionRobert Mustacchi6-33/+112
4298 ::printf tab completion Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Eric Schrock <eric.schrock@delphix.com>
2014-01-054436 ::dis -b fails to separate address columnsJosef 'Jeff' Sipek1-4/+4
Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Richard Lowe <richlowe@richlowe.net>