summaryrefslogtreecommitdiff
path: root/usr/src/test/zfs-tests/include/libtest.shlib
AgeCommit message (Collapse)AuthorFilesLines
2021-05-1313374 Port L2ARC Improvements from OpenZFSJason King1-0/+39
Portions contributed by: George Amanakis <gamanakis@gmail.com> Portions contributed by: Allan Jude <allanjude@freebsd.org> Portions contributed by: Alexander Motin <mav@FreeBSD.org> Portions contributed by: Matthew Macy <mmacy@freebsd.org> Portions contributed by: GeLiXin <ge.lixin@zte.com.cn> Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Adam Moss <c@yotes.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Ryan Moeller <freqlabs@FreeBSD.org> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-10-163525 Persistent L2ARCGeorge Amanakis1-0/+14
Portions contributed by: Saso Kiselkov <skiselkov@gmail.com> Portions contributed by: Jorgen Lundman <lundman@lundman.net> Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Portions contributed by: Alexander Motin <mav@FreeBSD.org> Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-1311682 zpool iostat and status improvementsTony Hutter1-2/+2
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Hajo Möller <dasjoe@gmail.com> Portions contributed by: Damian Wojslaw <damian@wojslaw.pl> Portions contributed by: kpande <github@tripleback.net> Portions contributed by: Anatoly Borodin <anatoly.borodin@gmail.com> Portions contributed by: Gregor Kopka <mailfrom-github@kopka.net> Portions contributed by: George Melikov <mail@gmelikov.ru> Portions contributed by: George G <gg7@users.noreply.github.com> Portions contributed by: DeHackEd <DeHackEd@users.noreply.github.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Tim Chase <tim@chase2k.com> Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Giuseppe Di Natale <guss80@gmail.com> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Tony Hutter <hutter2@llnl.gov> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Alek Pinchuk <apinchuk@datto.com> Reviewed by: Allan Jude <allanjude@freebsd.org> Reviewed by: Olaf Faaland <faaland1@llnl.gov> Reviewed by: loli10K <ezomori.nozomu@gmail.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-01-1410241 ZFS not detecting faulty spares in a timely mannerKody A Kantor1-0/+7
12132 zfs-retire agent crashes fmd on systems without vdev devids 12034 zfs test send_encrypted_props can fail Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Rob Johnston <rob.johnston@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-11-1111943 Fix out-of-order ZIL txtype lost on hardlinked filesChunwei Chen1-0/+19
11942 Panic on zil/slog replay when TX_REMOVE followed by TX_CREATE Portions contributed by: Ryan Moeller <ryan@freqlabs.com> Portions contributed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-0911770 additional mmp fixesOlaf Faaland1-4/+4
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Andreas Dilger <andreas.dilger@whamcloud.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Tony Hutter <hutter2@llnl.gov> Reviewed by: Giuseppe Di Natale <guss80@gmail.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Garrett D'Amore <gdamore@racktopsystems.com>
2019-09-2711711 verify_pool missing from zfs-test suiteJerry Jelinek1-0/+19
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-101701 ZFS to support UNMAP/TRIM for SSDBrian Behlendorf1-4/+6
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: George Wilson <george.wilson@delphix.com> Portions contributed by: Saso Kiselkov <saso.kiselkov@nexenta.com> Portions contributed by: Tim Chase <tim@chase2k.com> Portions contributed by: Chunwei Chen <tuxoko@gmail.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: loli10K <ezomori.nozomu@gmail.com> Reviewed by: Tim Chase <tim@chase2k.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Reviewed by: Tom Caputi <tcaputi@datto.com> Reviewed by: Jorgen Lundman <lundman@lundman.net> Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-0611640 add zpool ashift property tunableloli10K1-0/+38
Portions contributed by: Richard Laager <rlaager@wiktel.com> Portions contributed by: Christian Kohlschutter <christian@kohlschutter.com> Portions contributed by: Cyril Plisko <cyril.plisko@mountall.com> Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Portions contributed by: Martin Matuska <martin@matuska.org> Portions contributed by: Kody Kantor <kody.kantor@joyent.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-2811276 Allow unencrypted children of encrypted datasetsTom Caputi1-0/+14
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Sean Eric Fagan <sef@ixsystems.com> Reviewed by: Richard Laager <rlaager@wiktel.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-05-1310566 Multiple DVA Scrubbing FixTom Caputi1-0/+18
Portions contributed by: Toomas Soome <tsoome@me.com> Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-04-0310499 Multi-modifier protection (MMP)Olaf Faaland1-0/+86
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Tim Chase <tim@chase2k.com> Portions contributed by: sanjeevbagewadi <sanjeev.bagewadi@gmail.com> Portions contributed by: John L. Hammond <john.hammond@intel.com> Portions contributed by: Giuseppe Di Natale <dinatale2@llnl.gov> Portions contributed by: Prakash Surya <surya1@llnl.gov> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Tom Caputi <tcaputi@datto.com> Reviewed by: Kash Pande <kash@tripleback.net> Reviewed by: loli10K <ezomori.nozomu@gmail.com> Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Tony Hutter <hutter2@llnl.gov> Reviewed by: Gu Zheng <guzheng2331314@163.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Ned Bass <bass6@llnl.gov> Reviewed by: Andreas Dilger <andreas.dilger@intel.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-03-1810554 Implemented zpool sync commandAlek Pinchuk1-0/+20
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-09-179635 we should enable user after creation with zfs testsIgor Kozhukhov1-0/+1
Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Joshua M. Clulow <josh@sysmgr.org>
2018-06-189082 Add ZFS performance test targeting ZIL latencyJohn Wren Kennedy1-0/+52
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Tony Nguyen <tony.nguyen@delphix.com> Approved by: Matt Ahrens <mahrens@delphix.com>
2018-05-179245 zfs-test failures: slog_013_pos and slog_014_posJohn Wren Kennedy1-0/+19
Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Chris Williamson <chris.williamson@delphix.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Approved by: Dan McDonald <danmcd@joyent.com>
2018-03-149166 zfs storage pool checkpointSerapheim Dimitropoulos1-1/+19
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-078942 zfs promote .../%recv should be an errorloli10K1-0/+35
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-02-078941 zpool add: assertion failed in get_replication() with nested interior VDEVsloli10K1-0/+50
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-01-107614 zfs device evacuation/removalPrashanth Sreenivasa1-0/+57
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-08-218414 Implemented zpool scrub pause/resumeAlek Pinchuk1-15/+27
Reviewed by: George Melikov <mail@gmelikov.ru> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Brad Lewis <brad.lewis@delphix.com> Reviewed by: Serapheim Dimitropoulos <serapheim@delphix.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com>
2017-06-267431 ZFS Channel ProgramsChris Williamson1-2/+2
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2017-01-137629 Fix for 7290 neglected to remove some escape sequencesJohn Wren Kennedy1-136/+3
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-01-117739 zfs_inherit_003_pos fails due to improperly generated random stringsMatthew Ahrens1-1/+1
Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-11-297252 compressed zfs send / receiveDan Kimmel1-0/+45
7628 create long versions of ZFS send / receive options Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com> Reviewed by: Sebastien Roy <sebastien.roy@delphix.com> Reviewed by: David Quigley <dpquigl@davequigley.com> Reviewed by: Thomas Caputi <tcaputi@datto.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-11-217386 zfs get does not work properly with bookmarksMarcel Telka1-0/+57
Reviewed by: Simon Klinkert <simon.klinkert@gmail.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Approved by: Matthew Ahrens <mahrens@delphix.com>
2016-11-127290 ZFS test suite needs to control what utilities it can runJohn Wren Kennedy1-298/+298
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2016-07-147104 increase indirect block sizeMatthew Ahrens1-2/+2
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-07-146950 ARC should cache compressed dataGeorge Wilson1-0/+24
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-04-096754 zfs-tests: get_substr() function is redundantYuri Pankov1-18/+1
Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Matthew Ahrens <mahrens@delphix.com>
2016-02-246468 remove iscsi-related cruft from zfs-testsYuri Pankov1-151/+0
Reviewed by: John Kennedy <john.kennedy@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2015-10-286369 remove SVM tests from ZFS test suiteMatthew Ahrens1-25/+2
Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Albert Lee <trisk@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-10-036248 zpool_create_008_pos and zpool_create_009_neg can fail intermittentlyJohn Wren Kennedy1-2/+16
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-09-164185 add new cryptographic checksums to ZFS: SHA-512, Skein, Edon-RMatthew Ahrens1-0/+5
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Saso Kiselkov <saso.kiselkov@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@damore.org>
2015-04-265767 fix several problems with zfs test suiteJohn Wren Kennedy1-2/+35
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Approved by: Gordon Ross <gwr@nexenta.com>
2013-12-104206 history_003_pos relies on exact size of history log and entriesJohn Wren Kennedy1-1/+17
4207 history_008_pos depends on obsolete internal history log message 4208 Typo in zfs_main.c: "posxiuser" 4209 Populate zfstest with the remainder of the STF tests Reviewed by: Sonu Pillai <sonu.pillai@delphix.com> Reviewed by: Will Guyette <will.guyette@delphix.com> Reviewed by: Eric Diven <eric.diven@delphix.com> Reviewed by: Christopher Siden <christopher.siden@delphix.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-12-073311 Want a test framework for arbitrary OS unit testsJohn Wren Kennedy1-0/+2571
3312 Add a testrunner package for OS unit tests 3313 Add a testrunner package to convert ZFS tests from STF Reviewed by: Matt Ahrens <matthew.ahrens@delphix.com> Reviewed by: Will Guyette <will.guyette@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Henrik Mattson <henrik.mattson@delphix.com> Reviewed by: Sonu Pillai <sonu.pillai@delphix.com> Reviewed by: Christopher Siden <chris.siden@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Richard Lowe <richlowe@richlowe.net>