summaryrefslogtreecommitdiff
path: root/usr/src/test/zfs-tests
AgeCommit message (Collapse)AuthorFilesLines
2022-12-1215247 zfs_acl_chmod_aclmode_001_pos: tar extracts files in wrong directoryToomas Soome1-1/+2
Reviewed by: Yuri Pankov <yuri@aetern.org> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2022-12-0915244 zfs-tests: zfstest should accept multiple -c optionsToomas Soome1-2/+7
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Approved by: Dan McDonald <danmcd@mnx.io>
2022-12-0915245 zfs_clone_010_pos: fix python statementToomas Soome1-1/+1
Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-2415005 Tests for btree implementation used by range treesJohn Wren Kennedy8-4/+686
Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-10-2114993 zfs-tests: Move platform independent tests to a shared runfileRyan Moeller5-2255/+304
Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2022-09-2615007 zfs-tests: bootfs_006_pos is failingToomas Soome1-4/+2
Reviewed by: Andy Fiddaman <illumos@fiddaman.net> Reviewed by: Yuri Pankov <ypankov@tintri.com> Approved by: Dan McDonald <danmcd@mnx.io>
2022-03-1014443 resection manual pages per IPD4Richard Lowe15-40/+40
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-11-1914223 Add change key zfs channel programJason King3-2/+183
Portions contributed by: Alex Wilson <alex@cooperi.net> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Mike Zeller <mike.zeller@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-11-1714162 zfs-tests: document pre-requisitesToomas Soome1-1/+3
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-11-0414161 zfs_dbgmsg: test-fail callback should test if sudo is neededToomas Soome1-1/+7
Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-10-3014164 zfs-tests: some removal tests default to use /tmpToomas Soome8-8/+8
Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-10-2414163 zfs-tests: remove_raidz.ksh is brokenToomas Soome1-2/+4
Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
2021-10-0814007 zfstest: find_disks needs to be smarterYuri Pankov1-2/+2
Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-05-2113792 zfs_program_json zfs test can sometimes fail due to poor json comparisonBrian Behlendorf1-3/+17
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Approved by: Dan McDonald <danmcd@joyent.com>
2021-05-1313374 Port L2ARC Improvements from OpenZFSJason King20-111/+566
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>
2021-05-1013411 zfs_mount_all_mountpoints.ksh: cleanup_all should leave pool root mountedToomas Soome1-0/+2
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Approved by: Dan McDonald <danmcd@joyent.com>
2021-05-1011245 zfstest rename_dirs_001_pos RENAME_DIRS is undefinedBrian Behlendorf1-5/+5
Reviewed by: Yuri Pankov <ypankov@tintri.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-04-087668 zfs get only outputs 3 columns if "clones" property is emptyMatt Fiddaman2-4/+20
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Gordon Ross <Gordon.W.Ross@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-04-0713697 zfs change-key does not follow clones, data loss ensuesTom Caputi6-8/+101
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Alek Pinchuk <apinchuk@datto.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Vitaliy Gusev <gusev.vitaliy@icloud.com> Portions contributed by: Alex Wilson <alex@cooperi.net> Portions contributed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2021-01-2613365 Add option to testrunner to re-run just failed testsAndy Fiddaman1-3/+9
Reviewed by: Jason King <jason.king@joyent.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-12-3113400 zfs-tests: implicit conversion from 'enum dmu_objset_type' to 'enum ↵Toomas Soome1-1/+1
lzc_dataset_type' Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-11-1313172 Port OpenZFS: zfs label bootenv should store data as nvlistToomas Soome1-2/+5
Reviewed-by: Arvind Sankar <nivedita@alum.mit.edu> Reviewed-by: Allan Jude <allan@klarasystems.com> Reviewed-by: Paul Dagnelie <pcd@delphix.com> Reviewed-by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-11-1313025 Port OpenZFS: Add support for boot environment data to be stored in ↵Paul Dagnelie1-90/+131
the label Reviewed-by: Pavel Zakharov <pavel.zakharov@delphix.com> 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: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2020-10-163525 Persistent L2ARCGeorge Amanakis17-3/+1113
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-08-1113013 Port OpenZFS zpool label clear improvementsBrian Behlendorf11-53/+194
13012 zpool_read_label semantics should match OpenZFS Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Tim Chase <tim@chase2k.com> Reviewed by: Tony Hutter <hutter2@llnl.gov> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-08-0613017 Dump unique configurations and Uberblocks in zdb -luOlaf Faaland8-11/+231
Portions contributed by: Ryan Moeller <ryan@iXsystems.com> Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Tim Chase <tim@chase2k.com> Reviewed by: Don Brady <don.brady@intel.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: C Fraire <cfraire@me.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2020-07-0712877 Port OpenZFS #7780 - Add basic zfs ioc input nvpair validationDon Brady11-12/+1101
12895 zfs_onexit_fd_hold fails to release non-zfs fds Portions contributed by: Brian Behlendorf <behlendorf1@llnl.gov> Portions contributed by: George Wilson <george.wilson@delphix.com> Portions contributed by: Simon Klinkert <simon.klinkert@gmail.com> Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-06-0112668 ZFS support for vectorized algorithms on x86 (initial support)Gvozden Neskovic10-1/+176
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-2212774 Resilver restarts unnecessarily when it encounters errorsJohn Poduska7-19/+147
Portions contributed by: Tim Chase <tim@chase2k.com> Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Paul Zuchowski <pzuchowski@datto.com> Reviewed by: Toomas Soome <tsoome@me.com>
2020-05-1812707 Port OpenZFS Coverity Fixesluozhengzheng1-0/+5
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Yuri Pankov <ypankov@fastmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Portions contributed by: Jason King <jason.king@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-1212636 Prevent unnecessary resilver restartsjwpoduska10-0/+525
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: John Gallagher <john.gallagher@delphix.com> Reviewed by: Kjeld Schouten <kjeld@schouten-lebbing.nl> Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Alexander Motin <mav@FreeBSD.org> Portions contributed by: Jason King <jason.king@joyent.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-05-0412028 zfs test mdb_001_pos can failSara Hartse1-29/+9
Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-04-3012635 Allow for '-o feature@<feature>=disabled' on the command lineLOLi5-7/+100
Portions contributed by: Turbo Fredriksson <turbo@bayour.com> Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Robert Mustacchi <rm@fingolfin.org>
2020-02-2112308 Support setting user properties in a channel programSara Hartse2-0/+149
Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-1412181 zvol tests should avoid grep -wJason King3-4/+7
12281 zvol_swap_003_pos shouldn't use swapadd in cleanup Reviewed by: Kody Kantor <kody@kkantor.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-1311682 zpool iostat and status improvementsTony Hutter21-70/+415
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-02-0512217 add ld assert-deflib and guidance to gate buildToomas Soome1-1/+1
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-0512254 python changes have broken the zfs test suiteAlexander Pyhalov1-2/+2
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-02-0312245 Support inheriting properties in zfs channel programsJason King1-0/+39
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-01-2312189 zfs test suite calculates md5 digests suboptimallyKody Kantor7-29/+32
Reviewed by: Dan McDonald <danmcd@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-01-1410241 ZFS not detecting faulty spares in a timely mannerKody A Kantor7-6/+71
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-12-0311950 diff_cb() does not handle large dnodesloli10K1-2/+11
Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Tom Caputi <tcaputi@datto.com> Reviewed by: Ryan Moeller <ryan@ixsystems.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Reviewed by: Matthias Scheler <mscheler@tintri.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-11-2612002 async unlinked drainAlek Pinchuk6-4/+175
Portions contributed by: Jerry Jelinek <jerry.jelinek@joyent.com> Portions contributed by: Roman Strashkin <roman.strashkin@nexenta.com> Portions contributed by: Saso Kiselkov <saso.kiselkov@nexenta.com> Reviewed by: Jorgen Lundman <lundman@lundman.net> Reviewed by: Tom Caputi <tcaputi@datto.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Matt Ahrens <mahrens@delphix.com> Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-11-2312021 zfs_diff tests missing Makefile depsRobert Mustacchi1-0/+2
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Kody Kantor <kody.kantor@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Paul Winder <paul@winders.demon.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2019-11-2511962 Port ZoL zfs diff tests to illumosLOLi13-0/+619
Portions contributed by: Tony Hutter <hutter2@llnl.gov> Portions contributed by: Tom Caputi <tcaputi@datto.com> Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2019-11-1111943 Fix out-of-order ZIL txtype lost on hardlinked filesChunwei Chen24-13/+400
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-11-0711880 changing encryption key on dataset with unencrypted children triggers ↵Tom Caputi1-7/+12
VERIFY Portions contributed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Andrew Stormont <astormont@racktopsystems.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-2911872 Fix incremental recursive encrypted receiveTom Caputi1-2/+18
Portions contributed by: Jason King <jason.king@joyent.com> Reviewed by: loli10K <ezomori.nozomu@gmail.com> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
2019-10-0911770 additional mmp fixesOlaf Faaland9-32/+228
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>