summaryrefslogtreecommitdiffstats
path: root/cddl/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Build all ZFS testing & debugging tools with -g.will2013-08-271-2/+3
| | | | | | These programs and everything using libzpool rely on the embedded asserts to verify the correctness of operations. Given that, the core dumps would be useless without debug symbols.
* WiP merge of libzfs_core (MFV r238590, r238592)mm2013-03-052-4/+5
| | | | not yet working, ioctl handling needs to be changed
* Merge recent zfs vendor changes, sync code and adjust userland DEBUG.mm2012-09-121-0/+3
| | | | | | | | | | | | | | | | | | | | | Illumos issued covered: 1884 Empty "used" field for zfs *space commands 3006 VERIFY[S,U,P] and ASSERT[S,U,P] frequently check if first argument is zero 3028 zfs {group,user}space -n prints (null) instead of numeric GID/UID 3048 zfs {user,group}space [-s|-S] is broken 3049 zfs {user,group}space -t doesn't really filter the results 3060 zfs {user,group}space -H output isn't tab-delimited 3061 zfs {user,group}space -o doesn't use specified fields order 3064 usr/src/cmd/zpool/zpool_main.c misspells "successful" 3093 zfs {user,group}space's -i is noop 3098 zfs userspace/groupspace fail without saying why when run as non-root References: https://www.illumos.org/issues/ + [issue_id] Obtained from: illumos (vendor/illumos, vendor/illumos-sys) MFC after: 2 weeks
* Remove trailing whitespace.joel2012-09-012-3/+3
|
* Introduce "feature flags" for ZFS pools (bump SPA version to 5000).mm2012-06-111-3/+4
| | | | | | | | | | | | | | | | | | | Add first feature "com.delphix:async_destroy" (asynchronous destroy of ZFS datasets). Implement features support in ZFS boot code. Illumos revisions merged: 13700:2889e2596bd6 13701:1949b688d5fb 2619 asynchronous destruction of ZFS file systems 2747 SPA versioning with zfs feature flags References: https://www.illumos.org/issues/2619 https://www.illumos.org/issues/2747 Obtained from: illumos (issue #2619, #2747) MFC after: 1 month
* For now, remove MANFILTER from ZFS manpages (bad effect on html output).mm2011-11-211-2/+0
| | | | MFC after: 4 days
* Update and desolarization of zdb(8) and zstreamdump(1) manual pages:mm2011-11-201-0/+2
| | | | | | | | | | | - synchronized to match new vendor code [1] - removed ATTRIBUTES sections - updated SEE ALSO sections - properly updated copyright information (required by CDDL) - remove empty lines via MANFILTER Obtained from: Illumos [1] MFC after: 5 days
* Fix a few gratuitous library dependencies. Some of the ZFS utilitiesrmh2011-10-302-4/+4
| | | | | | | | | | | | | | | | | are linked with libraries they don't use: - zinject doesn't use libavl - ztest doesn't use libz - zdb uses neither libavl nor libz - zfs uses neither libbsdxml nor libm, nor libsbuf - zpool uses neither libbsdxml nor libm, nor libsbuf In addition, libzfs needs libm because it uses pow(), however it isn't linked with -lm. This went unnoticed because all its users had -lm before. Reviewed by: pjd, mm Approved by: kib (mentor) MFC after: 1 week
* Finally... Import the latest open-source ZFS version - (SPA) 28.pjd2011-02-274-0/+57
| | | | | | | | | | | | | | | Few new things available from now on: - Data deduplication. - Triple parity RAIDZ (RAIDZ3). - zfs diff. - zpool split. - Snapshot holds. - zpool import -F. Allows to rewind corrupted pool to earlier transaction group. - Possibility to import pool in read-only mode. MFC after: 1 month
* Add man pages for the CTF tools.rpaulo2010-08-116-3/+288
| | | | Sponsored by: The FreeBSD Foundation
* Remove manual .includes in cddl Makefilesuqs2010-03-026-40/+16
| | | | | | | | | | | | | | | - Break the dependency on ../Makefile.inc for .PATH, and include ../Makefile.inc implicitly. This is required to ... - Set WARNS?=6 in top-level Makefile.inc - Remove now redundant WARNS settings, add WARNS?=0 where appropriate - Remove redundant SHLIB_MAJOR overrides - Use NO_MAN, not MK_MAN=no - Remove redundant inclusion of bsd.own.mk - Order Makefiles more according to style.Makefile(9) - Reduce diff of cddl Makefiles against each other No objection: pjd Approved by: ed (co-mentor)
* Fixed dependencies (make checkdpadd).ru2010-02-254-6/+7
|
* Switch over to gnu99 compilation on default for userland.rdivacky2009-03-141-2/+2
| | | | | | | | Tested by: make universe Tested by: ports exp build (done by pav) Reviewed by: ru Reviewed by: silence on arch Approved by: ed (mentor)
* Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes.pjd2008-11-173-5/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This bring huge amount of changes, I'll enumerate only user-visible changes: - Delegated Administration Allows regular users to perform ZFS operations, like file system creation, snapshot creation, etc. - L2ARC Level 2 cache for ZFS - allows to use additional disks for cache. Huge performance improvements mostly for random read of mostly static content. - slog Allow to use additional disks for ZFS Intent Log to speed up operations like fsync(2). - vfs.zfs.super_owner Allows regular users to perform privileged operations on files stored on ZFS file systems owned by him. Very careful with this one. - chflags(2) Not all the flags are supported. This still needs work. - ZFSBoot Support to boot off of ZFS pool. Not finished, AFAIK. Submitted by: dfr - Snapshot properties - New failure modes Before if write requested failed, system paniced. Now one can select from one of three failure modes: - panic - panic on write error - wait - wait for disk to reappear - continue - serve read requests if possible, block write requests - Refquota, refreservation properties Just quota and reservation properties, but don't count space consumed by children file systems, clones and snapshots. - Sparse volumes ZVOLs that don't reserve space in the pool. - External attributes Compatible with extattr(2). - NFSv4-ACLs Not sure about the status, might not be complete yet. Submitted by: trasz - Creation-time properties - Regression tests for zpool(8) command. Obtained from: OpenSolaris
* Add the DTrace build tools.jb2008-05-225-1/+155
|
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerru2008-03-291-1/+1
| | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect.
* The sources covered by Sun's CDDL have been repo copied below thejb2008-03-271-9/+9
| | | | | | | | src/cddl and src/sys/cddl directories per the core@ decision following the license review. This change modifies the affected Makefiles to reference the sources in their new location.
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalobrien2007-10-091-1/+1
| | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith)
* Repo copy libpthreads to libkse.obrien2007-10-091-1/+1
| | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
* Don't build bits that depend on the pthreads support if aru2007-10-011-0/+2
| | | | | | system was configured without such support. Approved by: re (kensmith)
* Fixed static linkage (build with -DNO_SHARED).ru2007-10-011-2/+3
| | | | Approved by: re (kensmith)
* - Reduce number of atomic operations needed to be implemented in asm bypjd2007-06-081-2/+0
| | | | | | | implementing some of them using existing ones. - Allow to compile ZFS on all archs and use atomic operations surrounded by global mutex on archs we don't have or can't have all atomic operations needed by ZFS.
* Link libzpool, ztest and zdb against libpthread.pjd2007-04-171-2/+2
| | | | Requested by: ru
* Apply a set of style.Makefile(5) changes to src/cddl/ makefiles.ru2007-04-162-16/+14
| | | | | | | | | | There are some insignificant non-style changes as well. Not fixed: makefiles use ${LIBTHR} that doesn't exist, thus breaking "make checkdpadd" and not tracking dependencies properly. Approved by: pjd
* Build ZFS on amd64 and pc98.des2007-04-071-3/+1
| | | | Approved by: pjd@
* Please welcome ZFS - The last word in file systems.pjd2007-04-063-0/+43
ZFS file system was ported from OpenSolaris operating system. The code in under CDDL license. I'd like to thank all SUN developers that created this great piece of software. Supported by: Wheel LTD (http://www.wheel.pl/) Supported by: The FreeBSD Foundation (http://www.freebsdfoundation.org/) Supported by: Sentex (http://www.sentex.net/)
OpenPOWER on IntegriCloud