aboutsummaryrefslogtreecommitdiff
path: root/cddl
Commit message (Collapse)AuthorAgeFilesLines
* Fixed dependencies (make checkdpadd).Ruslan Ermilov2010-02-256-24/+11
| | | | Notes: svn path=/head/; revision=204339
* Apply OpenSolaris revision 8012 which brings our zpool to version 14,Xin LI2009-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 Notes: svn path=/head/; revision=201143
* Apply fix Solaris bug 6462803 zfs snapshot -r failed becauseXin LI2009-12-191-5/+5
| | | | | | | | | | | filesystem was busy. Submitted by: mm Approved by: pjd MFC after: 2 weeks Notes: svn path=/head/; revision=200724
* Add an option to specify that the received ZFS should not be automaticallyXin LI2009-12-143-5/+11
| | | | | | | | | | mounted (receive -u). Obtained from: OpenSolaris (onnv revision 8584:327a1b6dd944) Approved by: pjd Notes: svn path=/head/; revision=200516
* Properly mark ZFS properties which are not changeable under FreeBSD.Edward Tomasz Napierala2009-10-081-1/+6
| | | | | | | Reviewed by: pjd Notes: svn path=/head/; revision=197867
* 'aclmode' and 'aclinherit' properties should work as advertised; don'tEdward Tomasz Napierala2009-10-081-2/+0
| | | | | | | refuse to set them. Notes: svn path=/head/; revision=197859
* Fletcher4 is not the default checksum algorithm.Pawel Jakub Dawidek2009-09-251-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=197498
* Implement __assert() for Solaris-specific code. Until now Solaris code wasPawel Jakub Dawidek2009-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 Notes: svn path=/head/; revision=196992
* Fix detection of file system being shared. After this change commands like:Pawel Jakub Dawidek2009-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 Notes: svn path=/head/; revision=196950
* Teach zdb(8) how to obtain GEOM provider size.Pawel Jakub Dawidek2009-09-071-0/+8
| | | | | | | | | PR: kern/133134 Reported by: Philipp Wuensche <cryx-freebsd@h3q.com> MFC after: 3 days Notes: svn path=/head/; revision=196928
* Fix receive when dataset has no / in its name.Pawel Jakub Dawidek2009-08-171-4/+5
| | | | | | | | Submitted by: James R. Van Artsdalen <james-freebsd-current@jrv.org> Approved by: re (kib) Notes: svn path=/head/; revision=196305
* Remove files that are no longer used.Pawel Jakub Dawidek2009-08-171-0/+1
| | | | | | | | Discussed with: kmacy Approved by: re (kib) Notes: svn path=/head/; revision=196289
* Bump the version of all non-symbol-versioned shared libraries inKen Smith2009-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) Notes: svn path=/head/; revision=195767
* The mutex_owned() macro should operate on kmutex_t and not on mutex_t.Pawel Jakub Dawidek2009-07-093-1/+10
| | | | | | | | | | This fixes 'zdb <poolname>' crash. Reported by: avg Approved by: re (kib) Notes: svn path=/head/; revision=195515
* Fix lockstat breakage to arm/powerpc buildworld.Stacey Son2009-05-271-8/+12
| | | | | | | | | Thanks to IBM char's are unsigned on arm/powerpc. Approved by: gnn (mentor) Notes: svn path=/head/; revision=192937
* Add the OpenSolaris lockstat(1M) command. Requires the dtrace driver,Stacey Son2009-05-275-0/+3144
| | | | | | | | | the lockstat provider, and the ksyms(4) pseudo driver kernel modules. Approved by: gnn (mentor) Notes: svn path=/head/; revision=192867
* atomic.S has been renamed opensolaris_atomic.S to avoid collisionsKip Macy2009-05-091-1/+1
| | | | Notes: svn path=/head/; revision=191933
* define VN_RELE_ASYNC for use by libzpoolKip Macy2009-05-071-0/+1
| | | | Notes: svn path=/head/; revision=191906
* Switch over to gnu99 compilation on default for userland.Roman Divacky2009-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) Notes: svn path=/head/; revision=189801
* Correct the sense of the "use32" terenary operator so that it usesJohn Baldwin2009-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 Notes: svn path=/head/; revision=187347
* Include param.h instead of types.h before mount.h so that the nestedRobert Watson2008-12-291-0/+1
| | | | | | | | | include of param.h can be removed from audit.h. MFC after: 3 days Notes: svn path=/head/; revision=186568
* Including mount.h requires including param.h.Robert Watson2008-12-271-0/+1
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=186515
* IFp4: Don't rely on disk IDs and always use vdev guids, which means always lookPawel Jakub Dawidek2008-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. Notes: svn path=/head/; revision=185174
* Fix a warning on amd64 caused by using int for request argument instead ofPawel Jakub Dawidek2008-11-182-2/+2
| | | | | | | | | | | unsigned long: WARNING pid 12888 (zfs/zpool): ioctl sign-extension ioctl ffffffffcc285aXX Reported by: kris Notes: svn path=/head/; revision=185039
* Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes.Pawel Jakub Dawidek2008-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 Notes: svn path=/head/; revision=185029
* Merge latest DTrace changes from Perforce.Craig Rodrigues2008-11-059-27/+66
| | | | | | | Approved by: jb Notes: svn path=/head/; revision=184696
* Mips doesn't have a long double that's different in size from double.Warner Losh2008-09-181-1/+1
| | | | Notes: svn path=/head/; revision=183153
* Add a missing file change from the VOP_GETATTR() argument axing.Attilio Rao2008-08-281-1/+1
| | | | Notes: svn path=/head/; revision=182383
* Don't need to include vmem.h anymore.John Birrell2008-05-231-1/+0
| | | | Notes: svn path=/head/; revision=179265
* Add the dtrace client app to the build.John Birrell2008-05-222-1/+39
| | | | Notes: svn path=/head/; revision=179221
* Add the DTrace build tools.John Birrell2008-05-225-1/+155
| | | | Notes: svn path=/head/; revision=179200
* Oops, these files belonged under src/sys, not src. Sorry.John Birrell2008-05-2218-25785/+0
| | | | Notes: svn path=/head/; revision=179199
* This commit was generated by cvs2svn to compensate for changes in r179191,John Birrell2008-05-2218-0/+25785
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=179192
* Add the DTrace libraries and D library scripts.John Birrell2008-05-2211-1/+863
| | | | Notes: svn path=/head/; revision=179189
* Add Solaris compatibility definitions for things we don't really want inJohn Birrell2008-05-212-0/+83
| | | | | | | FreeBSD headers. Notes: svn path=/head/; revision=179163
* * Handle the different ioctl design.John Birrell2008-04-263-14/+524
| | | | | | | * Add a couple of FreeBSD action extensions. Notes: svn path=/head/; revision=178576
* Make this file compile cleanly.John Birrell2008-04-261-1/+3
| | | | Notes: svn path=/head/; revision=178575
* Leave out some header files.John Birrell2008-04-262-0/+10
| | | | Notes: svn path=/head/; revision=178574
* * Handle building on FreeBSD for i386 and amd64.John Birrell2008-04-261-27/+194
| | | | | | | | * Add stubs for the other FreeBSD arches. * Make the file compile cleanly. Notes: svn path=/head/; revision=178573
* * Make this file compile cleanly.John Birrell2008-04-261-10/+27
| | | | | | | * Add FreeBSD constructor/destructor definitions. Notes: svn path=/head/; revision=178572
* * Add FreeBSD action extensions.John Birrell2008-04-261-6/+267
| | | | | | | | | | * Get the kernel module file name rather than hard-coding it like on Solaris. * Use FreeBSD's process library API. * Handle FreeBSD's different lock types. * Get the list of loaded providers via a syscall. Notes: svn path=/head/; revision=178570
* * Handle the different ioctl design.John Birrell2008-04-261-3/+14
| | | | | | | * Make this file compile cleanly. Notes: svn path=/head/; revision=178569
* There is a lot of commented out code here which applies to future workJohn Birrell2008-04-261-2/+112
| | | | | | | | | | for userland tracing. For now we need the basic functions to be in place so that DTrace can be used for kernel tracing. Notes: svn path=/head/; revision=178568
* Leave out a header file.John Birrell2008-04-261-0/+2
| | | | Notes: svn path=/head/; revision=178567
* Merge FreeBSD include file changes with some code that should have comeJohn Birrell2008-04-261-11/+39
| | | | | | | in on the vendor branch. Notes: svn path=/head/; revision=178566
* * Use FreeBSD's process library instead of the Solaris one.John Birrell2008-04-261-1/+122
| | | | | | | | | | * There are a few placeholders in here for which there isn't libproc support code yet. This is relevent to userland tracing. This set of commits is designed to get kernel tracing up and running, with the userland stuff to follow later. Notes: svn path=/head/; revision=178565
* Leave out the hook that Solaris has into it's rtld.John Birrell2008-04-261-0/+2
| | | | Notes: svn path=/head/; revision=178564
* * Add a couple of action definitions for FreeBSD extensions.John Birrell2008-04-261-0/+32
| | | | | | | | | * Handle the different ioctl design. * Add support for the get and set error location. * Add support for freopen(). Notes: svn path=/head/; revision=178563
* * Handle the different ioctl design.John Birrell2008-04-261-1/+17
| | | | | | | * Make the file compile cleanly. Notes: svn path=/head/; revision=178562
* There are many places in libdtrace where errno can be set. When anJohn Birrell2008-04-261-0/+18
| | | | | | | | | | | error is returned all the way back to the dtrace app, it's hard to figure out where that error came from. Add a couple of functions to get and set the error location which can be optionally compiled into the library. Notes: svn path=/head/; revision=178561