summaryrefslogtreecommitdiffstats
path: root/cddl
Commit message (Collapse)AuthorAgeFilesLines
* MFHgjb2016-03-143-14/+14
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * libdtrace: use calloc(3) instead of malloc(3) when it makes sense.pfg2016-03-143-14/+14
| | | | | | | | | | | | | | | | | | calloc(3) is faster and occasionally safer than malloc(3) + bzero(3). In one case, pointed out by Mark[1], this also cleans up a calculation. Reviewed by: markj [1] MFC after: 1 week
* | MFHgjb2016-03-10104-96/+1223
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Connect MK_TESTS.bdrewery2016-03-0986-0/+1026
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
| * Missed addition to r296563 to fix newer tools to work with older kernel.mav2016-03-091-0/+3
| |
| * MFV r296540: 4448 zfs diff misprints unicode charactersmav2016-03-081-6/+8
| | | | | | | | | | | | | | | | | | Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Matthew Ahrens <mahrens@delphix.com> Author: Joshua M. Clulow <jmc@joyent.com> illumos/illumos-gate@b211eb9181f99c20acbf4c528f94cb44b4ca8c31
| * MFV r296538: 6544 incorrect comment in libzfs.h about offline statusmav2016-03-081-1/+1
| | | | | | | | | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Gerhard Roethlin <git@the-color-black.net> illumos/illumos-gate@cb605c4d8ab24b5a900b8b4ca85db65c22d05fad
| * MFV r296536: 6551 cmd/zpool: cleanup gcc warningsmav2016-03-083-34/+13
| | | | | | | | | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Robert Mustacchi <rm@joyent.com> illumos/illumos-gate@b327cd3f3b4dab4f29e7140159b1e01ed2ceef2a
| * MFV r296534: 6550 cmd/zfs: cleanup gcc warningsmav2016-03-081-17/+37
| | | | | | | | | | | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Igor Kozhukhov <ikozhukhov@gmail.com> illumos/illumos-gate@c16bcc4577f389573eff411c7b7e040294078c3b
| * MFV r296532: 6637 replacing "dontclose" with "should_close"mav2016-03-081-3/+3
| | | | | | | | | | | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com> Author: David Schwartz <dschwartz783@gmail.com> illumos/illumos-gate@d189620258b3c9b0e2f7e2104840be2eee7c68e5
| * MFV r296527: 6659 nvlist_free(NULL) is a no-opmav2016-03-088-32/+16
| | | | | | | | | | | | | | | | | | Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com> Author: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> illumos/illumos-gate@aab83bb83be7342f6cfccaed8d5fe0b2f404855d
| * MFV r296518: 5027 zfs large block support (add copyright)mav2016-03-088-0/+8
| | | | | | | | | | | | Author: Matthew Ahrens <matt@mahrens.org> illumos/illumos-gate@c3d26abc9ee97b4f60233556aadeb57e0bd30bb9
| * MFV r296505: 6531 Provide mechanism to artificially limit disk performancemav2016-03-081-3/+108
| | | | | | | | | | | | | | | | | | | | Reviewed by: Paul Dagnelie <pcd@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: George Wilson <george.wilson@delphix.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Prakash Surya <prakash.surya@delphix.com> illumos/illumos-gate@97e81309571898df9fdd94aab1216dfcf23e060b
* | MFHgjb2016-03-061-0/+14
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * fix tcpdebug: - assign to "flags" in each probe, not only debug-inputgnn2016-03-031-0/+14
| | | | | | | | | | | | | | | | compute "len" in the same way in each probe Submitted by: Hannes Mehnert MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D5524
* | MFHgjb2016-03-021-27/+0
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * DIRDEPS_BUILD: Regenerate without local dependencies.bdrewery2016-02-241-27/+0
| | | | | | | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division
* | MFHgjb2016-02-222-5/+5
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8).dim2016-02-212-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, zfs(8) and zpool(8) print "invalid type '(null)'" or similar messages, if you pass in invalid types, sources or column names for "zfs get", "zfs list" and "zpool get". This is because the commands use getsubopt(3), and in case of failure, they print 'value', which is NULL when sub options don't match. They should print 'suboptarg' instead, which is the documented way to get at the non-matching sub option value. Reviewed by: smh MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D5365
* | MFHgjb2016-02-181-2/+0
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * Test directories can build in parallel fine.bdrewery2016-02-161-2/+0
| | | | | | | | Sponsored by: EMC / Isilon Storage Division
* | More 'tests' packaging fixes.gjb2016-02-031-0/+5
| | | | | | | | Sponsored by: The FreeBSD Foundation
* | MFHgjb2016-02-021-2/+4
|\ \ | |/ | | | | Sponsored by: The FreeBSD Foundation
| * MFV 295046: 6358 A faulted pool with only unavailable vdevs triggersmav2016-01-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | assertion failure in libzfs Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Serban Maduta <serban.maduta@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Dan Vatca <dan.vatca@gmail.com> illumos/illumos-gate@b289d045e084af53efcc025255af8242e41f28fa
* | First pass to fix the 'tests' packages.gjb2016-02-024-0/+20
|/ | | | Sponsored by: The FreeBSD Foundation
* MFV r294816: 4986 receiving replication stream fails if any snapshotmav2016-01-261-9/+34
| | | | | | | | | | | exceeds refquota Reviewed by: John Kennedy <john.kennedy@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Gordon Ross <gordon.ross@nexenta.com> Author: Dan McDonald <danmcd@omniti.com> illumos/illumos-gate@5878fad70d76d8711f6608c1f80b0447601261c6
* MFV r294814: 6393 zfs receive a full send as a clonemav2016-01-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Richard Elling <Richard.Elling@RichardElling.com> Approved by: Dan McDonald <danmcd@omniti.com> Author: Paul Dagnelie <pcd@delphix.com> illumos/illumos-gate@68ecb2ec930c4b0f00acaf8e0abb2b19c4b8b76f This allows to do a full (non-incremental send) and receive it as a clone of an existing dataset. It can leverage nopwrite to share blocks with the origin. This can be used to change the relationship of datasets on the target. For example, maybe on the source you have: A ---- B ---- C And you have sent to the target a full of B, and the incremental B->C: B ---- C You later realize that you want to have A on the target. You will have to do a full send of A, but nopwrite can save you space on the target if you receive it as a clone of B, assuming that A and B have some blocks inxi common: B ---- C \ A
* We don't support libdtrace for RISC-V yet.br2016-01-251-1/+1
|
* Remove a dead local variable, missed in r274565.markj2016-01-141-2/+0
| | | | | MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* Reduce zfs utilities overlinkingbapt2015-12-242-2/+2
|
* Reduce overlinkingbapt2015-12-242-2/+2
|
* Report an error if zdb cannot initialize zfsbapt2015-12-231-1/+2
| | | | | | | | | If the zfs module is not present and not loadable, report an error to the user instead of crashing Reviewed by: mahrens Sponsored by: Gandi.net Differential Revision: https://reviews.freebsd.org/D4691
* Add a trailing newline to the expected output for tst.walltimestamp.ksh.markj2015-12-071-0/+1
| | | | MFC after: 1 week
* Fix a discrepancy in r291738.markj2015-12-071-1/+1
| | | | | | The script that generates these makefiles was changed to modify LIBADD rather than LDADD/DPADD, but the makefile itself was also changed in a slightly different way.
* Update DTrace test suite makefiles after r291963.markj2015-12-071-0/+2
|
* MFV r289003:markj2015-12-072-0/+103
| | | | | | | | | | | | 6271 dtrace caused excessive fork time Author: Bryan Cantrill <bryan@joyent.com> Reviewed by: Adam Leventhal <ahl@delphix.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Gordon Ross <gwr@nexenta.com> illumos/illumos-gate@7bd3c1d12d0c764e1517c3aca62c634409356764
* Modify DTRACEHIOC_ADDDOF to copy the DOF section from the target process.markj2015-12-071-46/+4
| | | | | | | | | | | r281257 added support for lazyload mode by allowing dtrace(1) to register a DOF section on behalf of a traced process. This was implemented by having libdtrace copy the DOF section into a heap-allocated buffer and passing its address to the ioctl handler. However, DTrace uses the DOF section address as a lookup key in certain cases, so the ioctl handler should be given the target process' DOF section address instead. This change modifies the ADDDOF handler to copy the DOF section in from the target process, rather than from dtrace(1).
* Fix LDADD/DPADD that should be LIBADD.bdrewery2015-12-0413-41/+13
| | | | Sponsored by: EMC / Isilon Storage Division
* Simplify the LIBRARIES_ONLY hacks so that install: is not needed here.bdrewery2015-12-041-8/+2
| | | | | | | This uses the same pattern that I applied to the other cases of this in the csu directories. Sponsored by: EMC / Isilon Storage Division
* Fix the build for non-amd64.bdrewery2015-12-021-2/+2
|
* Reduce overlinking of libdtrace consumers with libctf, libelf, libproc.bdrewery2015-12-021-1/+1
| | | | | | | | | | | | The proper place for this list is _DP_dtrace. Due to removing the LDADD_dtrace, more LIBADD are needed in cddl/usr.sbin/dtrace to prevent underlinking. This fixes overlinking in cddl/usr.sbin/lockstat and cddl/usr.sbin/plockstat. Sponsored by: EMC / Isilon Storage Division
* Fully connect cddl/usr.sbin/plockstat.bdrewery2015-12-022-2/+27
| | | | | | | | There seems to be no reason to keep this so private. Also add missing optional MK_CDDL files. Sponsored by: EMC / Isilon Storage Division
* META MODE: Update dependencies with 'the-lot' and add missing directories.bdrewery2015-12-013-0/+3
| | | | | | | | | | | | | | This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable. Currently rescue/rescue and sys/modules are still not connected. Sponsored by: EMC / Isilon Storage Division
* META MODE: Fix userland/cddl.bdrewery2015-12-014-10/+0
| | | | | | | MK_CTF controls whether ctfmerge is ran against the binaries, not whether CTF tools should be built. Sponsored by: EMC / Isilon Storage Division
* Rename Makefile.inc1 to dtrace.test.mk to avoid clash with top-level ↵bdrewery2015-11-2583-82/+82
| | | | | | | Makefile.inc1. Discussed with: ngie, markj Sponsored by: EMC / Isilon Storage Division
* META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host.bdrewery2015-11-259-9/+0
| | | | | | | | This both avoids some dependencies on xinstall.host and allows bootstrapping on older releases to work due to lack of at least 'install -l' support. Sponsored by: EMC / Isilon Storage Division
* Fix zfs(8) set optionssmh2015-11-191-2/+2
| | | | | | | | | Fix zfs(8) not formatting due to wrong macro (Oc) in the syntax for the new zfs set multiple dataset properties option. PR: 204631 Submitted by: Thomas Eberhardt Sponsored by: Multiplay
* Reduce the Makefile snippet complexity a bitngie2015-11-091-5/+3
| | | | | | | | | - Set BINDIR to TESTSDIR globally (and subsequently, remove all `${FILESGROUP}DIR` setting because BINDIR is set to `TESTSDIR`) - Set MAN to "" globally, instead of per-PROG MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Remove unneeded _RECURSING_PROGS check.bdrewery2015-10-301-2/+0
| | | | | | | | It is definitely not needed after r288158, and is a private variable as well that should not be checked here. MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Allow 'zfs holds -r' to recurse over a file system or volume to find holdsallanjude2015-10-262-28/+55
| | | | | | | | | | | | | | | Previously, the parameters of 'zfs holds' could only be snapshots Add -d <depth> flag to limit depth of recursion Add -p flag to print literal values, rather than interpreted values Add -H flag to suppress header output and use tabs rather than whitespace Reviewed by: mahrens, smh, dteske Approved by: bapt (mentor) MFC after: 3 weeks Relnotes: yes Sponsored by: ScaleEngine Inc. Differential Revision: https://reviews.freebsd.org/D3994
OpenPOWER on IntegriCloud