summaryrefslogtreecommitdiffstats
path: root/cddl
Commit message (Collapse)AuthorAgeFilesLines
...
* Unbreak platforms with char unsigned by default. Oddly enough, GCC isn'tmarcel2010-06-201-2/+6
| | | | | satisfied with a simple cast to int in the check against EOF, so the fix is a bit involved by actually having to go through a temporary variable.
* Do not allow EOF token to be put back into input buffer.kan2010-06-181-3/+11
| | | | | | This reimplements previous change from r20930 in more generic way. MFC after: 1 week
* In dtrace lexer, do not unput token if it is EOF.kan2010-06-111-1/+2
| | | | | | | | This is harmless with OpenSolaris fex and yacc, but with FreeBSD causes '\xff' symbol to be physically put into input buffer, causing subsequent syntax error. MFC after: 1 week
* Allow to use 'jailed' property again.pjd2010-05-311-1/+0
| | | | | Reported by: Eugene Mitrofanov <eugene@imedia.ru> MFC after: 3 days
* Fix zfs receive temporarily changing unchanged stream properties.mm2010-05-231-4/+6
| | | | | | | | | | Fix possible panic with zfs_enable_datasets. OpenSolaris onnv revision: 8536:33bd5de3260e Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6748561, 6757075) MFC after: 3 days
* Fix userland build by making io_task available only for the kernel and bypjd2010-05-161-0/+3
| | | | | | providing taskq_dispatch_safe() macro. MFC after: 1 week
* Import OpenSolaris revision 7837:001de5627df3mm2010-05-135-386/+146
| | | | | | | | | | | | | | | | | | | It includes the following changes: - parallel reads in traversal code (Bug ID 6333409) - faster traversal for zfs send (Bug ID 6418042) - traversal code cleanup (Bug ID 6725675) - fix for two scrub related bugs (Bug ID 6729696, 6730101) - fix assertion in dbuf_verify (Bug ID 6752226) - fix panic during zfs send with i/o errors (Bug ID 6577985) - replace P2CROSS with P2BOUNDARY (Bug ID 6725680) List of OpenSolaris Bug IDs: 6333409, 6418042, 6757112, 6725668, 6725675, 6725680, 6725698, 6729696, 6730101, 6752226, 6577985, 6755042 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (multiple Bug IDs) MFC after: 1 week
* Fix possible panic with zfs destroy.mm2010-05-111-1/+107
| | | | | | | | | OpenSolaris onnv revision: 8779:f164e0e90508 PR: kern/146471 Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6784924) MFC after: 3 days
* Introduce hardforce export option (-F) for "zpool export".mm2010-05-054-4/+26
| | | | | | | | | When exporting with this flag, zpool.cache remains untouched. OpenSolaris onnv revision: 8211:32722be6ad3b Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID: 6775357)
* Enable "zfs list" to list explicitly requested snapshots.mm2010-05-041-1/+1
| | | | | | | | | | | Partial import of OpenSolaris onnv revision: 8415:8809e849f63e PR: kern/146297 Submitted by: myself Approved by: pjd, delphij (mentor) Obtained from: OpenSolaris (Bug ID 6758338) MFC after: 2 weeks
* Do not encode more than CTF_MAX_VLEN(1023) enum members.kan2010-05-031-1/+8
| | | | | | | | | | | CTF can not represent enums with more than CTF_MAX_VLEN members, but ctfconvert will happily ignore that limitation and create CTF section no other tool can interpret. This change is different from similar change from upstream, which just returns an error if big enum is encountered. Doing that means that every FreeBSD kernel with compiled in hwpmc will have no useable CTF information due to pmc_event enum having 1236+ members.
* Refine previous partial merge of OpenSolaris onnv revision 9396:f41cf682d0d3.delphij2010-04-051-1/+6
| | | | | | | | | | This fixes a regression that zfs list would crash on zfs having user properties. PR: kern/145377 Submitted by: mm Approved by: pjd Obtained from: OpenSolaris MFC after: 10 days
* - update zfs and zpool manual pages to match the current state of the sourcedanger2010-03-262-624/+579
| | | | | | | | PR: 144984 Submitted by: mm@ Approved by: pjd@ Obtained from: OpenSolaris MFC after: 4 days
* Merge OpenSolaris revision 9396:f41cf682d0d3:delphij2010-03-161-1/+7
| | | | | | | | | | | | | 6830813 zfs list -t all fails assertion *Note that this is only a partial merge of this revision addressing only this one issue.* PR: bin/144720 Submitted by: mm Approved by: pjd Obtained from: OpenSolaris MFC after: 1 month
* Merge OpenSolaris revision 9365:7838a22eccd6:delphij2010-03-163-29/+64
| | | | | | | | | | | PSARC/2009/171 zfs list -d and zfs get -d 6762432 zfs list --depth PR: bin/144720 Submitted by: mm Approved by: pjd Obtained from: OpenSolaris MFC after: 1 month
* Merge OpenSolaris revision 8802:010b31dd4c53:delphij2010-03-164-8/+81
| | | | | | | | | | 6773366 "zfs list" memory consumption can be further reduced PR: bin/144720 Submitted by: mm Approved by: pjd Obtained from: OpenSolaris MFC after: 1 month
* Remove manual .includes in cddl Makefilesuqs2010-03-0221-75/+43
| | | | | | | | | | | | | | | - 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-256-24/+11
|
* Apply OpenSolaris revision 8012 which brings our zpool to version 14,delphij2009-12-281-0/+2
| | | | | | | | | | | making it possible for zpools created on OpenSolaris 2009.06 be used on FreeBSD. PR: kern/141800 Submitted by: mm Reviewed by: pjd, trasz Obtained from: OpenSolaris MFC after: 2 weeks
* Apply fix Solaris bug 6462803 zfs snapshot -r failed becausedelphij2009-12-191-5/+5
| | | | | | | | filesystem was busy. Submitted by: mm Approved by: pjd MFC after: 2 weeks
* Add an option to specify that the received ZFS should not be automaticallydelphij2009-12-143-5/+11
| | | | | | | mounted (receive -u). Obtained from: OpenSolaris (onnv revision 8584:327a1b6dd944) Approved by: pjd
* Properly mark ZFS properties which are not changeable under FreeBSD.trasz2009-10-081-1/+6
| | | | Reviewed by: pjd
* 'aclmode' and 'aclinherit' properties should work as advertised; don'ttrasz2009-10-081-2/+0
| | | | refuse to set them.
* Fletcher4 is not the default checksum algorithm.pjd2009-09-251-1/+1
| | | | MFC after: 3 days
* Implement __assert() for Solaris-specific code. Until now Solaris code waspjd2009-09-082-81/+55
| | | | | | | | | using Solaris prototype for __assert(), but FreeBSD's implementation. Both take different arguments, so we were either core-dumping in assert() or printing garbage. Reported by: avg MFC after: 1 week
* Fix detection of file system being shared. After this change commands like:pjd2009-09-071-0/+5
| | | | | | | | | | # zfs unshare -a # zfs destroy foo/bar # zfs rename foo/bar foo/baz should properly remove exported file systems. MFC after: 3 days
* Teach zdb(8) how to obtain GEOM provider size.pjd2009-09-071-0/+8
| | | | | | PR: kern/133134 Reported by: Philipp Wuensche <cryx-freebsd@h3q.com> MFC after: 3 days
* Fix receive when dataset has no / in its name.pjd2009-08-171-4/+5
| | | | | Submitted by: James R. Van Artsdalen <james-freebsd-current@jrv.org> Approved by: re (kib)
* Remove files that are no longer used.pjd2009-08-171-0/+1
| | | | | Discussed with: kmacy Approved by: re (kib)
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-193-3/+3
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* The mutex_owned() macro should operate on kmutex_t and not on mutex_t.pjd2009-07-093-1/+10
| | | | | | | This fixes 'zdb <poolname>' crash. Reported by: avg Approved by: re (kib)
* Fix lockstat breakage to arm/powerpc buildworld.sson2009-05-271-8/+12
| | | | | | Thanks to IBM char's are unsigned on arm/powerpc. Approved by: gnn (mentor)
* Add the OpenSolaris lockstat(1M) command. Requires the dtrace driver,sson2009-05-275-0/+3144
| | | | | | the lockstat provider, and the ksyms(4) pseudo driver kernel modules. Approved by: gnn (mentor)
* atomic.S has been renamed opensolaris_atomic.S to avoid collisionskmacy2009-05-091-1/+1
|
* define VN_RELE_ASYNC for use by libzpoolkmacy2009-05-071-0/+1
|
* Switch over to gnu99 compilation on default for userland.rdivacky2009-03-144-6/+8
| | | | | | | | Tested by: make universe Tested by: ports exp build (done by pav) Reviewed by: ru Reviewed by: silence on arch Approved by: ed (mentor)
* Correct the sense of the "use32" terenary operator so that it usesjhb2009-01-161-5/+1
| | | | | | | | 'lib32' for 32-bit binaries on amd64 and 'lib' for 64-bit binaries. Remove an #ifdef __i386__ that defined use32 to the wrong value on i386 to workaround the bug in the terenary operator. MFC after: 1 month
* Include param.h instead of types.h before mount.h so that the nestedrwatson2008-12-291-0/+1
| | | | | | include of param.h can be removed from audit.h. MFC after: 3 days
* Including mount.h requires including param.h.rwatson2008-12-271-0/+1
| | | | MFC after: 3 weeks
* IFp4: Don't rely on disk IDs and always use vdev guids, which means always lookpjd2008-11-221-5/+1
| | | | | up for components by reading metadata. This might be slower when there are big number of disks in the system, but is definiately more reliable.
* Fix a warning on amd64 caused by using int for request argument instead ofpjd2008-11-182-2/+2
| | | | | | | | unsigned long: WARNING pid 12888 (zfs/zpool): ioctl sign-extension ioctl ffffffffcc285aXX Reported by: kris
* Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes.pjd2008-11-1756-4787/+15477
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Merge latest DTrace changes from Perforce.rodrigc2008-11-059-27/+66
| | | | Approved by: jb
* Mips doesn't have a long double that's different in size from double.imp2008-09-181-1/+1
|
* Add a missing file change from the VOP_GETATTR() argument axing.attilio2008-08-281-1/+1
|
* Don't need to include vmem.h anymore.jb2008-05-231-1/+0
|
* Add the dtrace client app to the build.jb2008-05-222-1/+39
|
* Add the DTrace build tools.jb2008-05-225-1/+155
|
* Oops, these files belonged under src/sys, not src. Sorry.jb2008-05-2218-25785/+0
|
* This commit was generated by cvs2svn to compensate for changes in r179191,jb2008-05-2218-0/+25785
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud