summaryrefslogtreecommitdiffstats
path: root/cddl/contrib
Commit message (Collapse)AuthorAgeFilesLines
* * Use a portable POSIX timed wait.jb2008-04-261-1/+22
| | | | * Handle the different ioctl format.
* * Fix a function prototype.jb2008-04-261-1/+10
| | | | | * Allow for the different level of indirection between SYSV's ioctl and BSD's. * Map a couple of sysconf definitions to one that FreeBSD has.
* Simplify for FreeBSD for now, bypassing the multibyte char variablesjb2008-04-261-0/+13
| | | | that Solaris has. We may need to revisit this issue later.
* Solaris has code which makes zlib optional, so they have to jump throughjb2008-04-261-7/+28
| | | | | some hoops to get the compression functions. On FreeBSD have libz and can just link against it.
* 'echo' behaviour differs between SYSV and BSD.jb2008-04-262-4/+8
|
* A lot of changes to make this code compile cleanly on FreeBSD.jb2008-04-2623-224/+342
|
* Use FreeBSD's libdwarf which is BSD licensed instead of the GPL'd one thatjb2008-04-261-137/+105
| | | | is used in Solaris.
* We need to be consistent with prototype definitions. It isn't OK tojb2008-04-261-8/+55
| | | | | | | use 'const' and just override it whenever we feel like it. If we use it at all, then we need to do it properly. Add a couple of functions that were useful in getting this code ported.
* Make this file compile cleanly.jb2008-04-261-25/+25
|
* Apply FreeBSD changes.jb2008-04-264-6/+26
|
* On FreeBSD we can't afford to have a build fail simply because therejb2008-04-261-0/+14
| | | | was some sort of CTF conversion error.
* Add a missing include file. We care about function prototype definitions.jb2008-04-261-0/+1
|
* Apply FreeBSD changes.jb2008-04-261-6/+66
| | | | | There is an incomplete piece of code in here which requires the process handling library which is still under development.
* * Set the path to perl on FreeBSD.jb2008-04-261-4/+4
| | | | | | | * Use the FreeBSD shell. * On FreeBSD the tests run from the OBJDIR, so output files go there rather than in the source tree like they do on Solaris. * FreeBSD doesn't need a special path to the compiler.
* Set the path to perl on FreeBSD.jb2008-04-261-1/+1
|
* Port these test files to work under FreeBSD.jb2008-04-2630-183/+296
|
* This commit was generated by cvs2svn to compensate for changes in r178528,jb2008-04-2698-2717/+705
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of the full userland contrib part of DTrace support fromjb2008-04-2698-2717/+705
| | | | | | | | | | | | | | | | | | | | | | OpenSolaris. This commit resets files to match the versions in the OpenSolaris tree as of 2008/04/10. The changes in this import from the previous import are the ones that will subsequently re-applied to take files off the vendor branch. This is unfortunately necessary because the Solaris developers won't allow FreeBSD support #ifdefs in their source code because that creates 'dead code' (stuff that they never compile).
* | This commit was generated by cvs2svn to compensate for changes in r178525,jb2008-04-2526-0/+9898
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of DTrace support files from OpenSolaris.jb2008-04-2526-0/+9898
| |
* | This commit was generated by cvs2svn to compensate for changes in r178481,jb2008-04-2540-0/+13733
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of the CTF (Compact C Type Format) code used by DTracejb2008-04-2540-0/+13733
| | | | | | | | from OpenSolaris.
* | This commit was generated by cvs2svn to compensate for changes in r178479,jb2008-04-2564-0/+40194
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of libraries for DTrace from OpenSolaris.jb2008-04-2564-0/+40194
| |
* | This commit was generated by cvs2svn to compensate for changes in r178476,jb2008-04-251428-0/+86505
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of the DTrace app and test suite from OpenSolaris.jb2008-04-251428-0/+86505
|
* Remove a couple of definitions which now exist in compatibility headers.jb2007-11-281-2/+0
|
* Now that we have CDDLed code in the tree, add CDDL license.pjd2007-09-231-0/+384
| | | | | Discussed with: core Approved by: re (kensmith)
* Use ioctl() to get correct media size so that we can locatesimokawa2007-08-071-1/+9
| | | | | | ZFS labels in the tail of the media. Approved by: re (kensmith), pjd
* Use provider's ident to handle situations when disks are moved aroundpjd2007-05-061-10/+43
| | | | | | | and show up with different names: first try to open provider using remembered name and compare its ident, if equal, this is our provider, if not equal or there is no provider with such name, find provider with remembered ident and don't care about the name.
* Clean up a little.pjd2007-05-061-4/+4
| | | | Obtained from: OpenSolaris
* MFp4:pjd2007-04-214-41/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | @118370 Correct typo. @118371 Integrate changes from vendor. @118491 Show backtrace on unexpected code paths. @118494 Integrate changes from vendor. @118504 Fix sendfile(2). I had two ways of fixing it: 1. Fixing sendfile(2) itself to use VOP_GETPAGES() instead of hacking around with vn_rdwr(UIO_NOCOPY), which was suggested by ups. 2. Modify ZFS behaviour to handle this special case. Although 1 is more correct, I've choosen 2, because hack from 1 have a side-effect of beeing faster - it reads ahead MAXBSIZE bytes instead of reading page by page. This is not easy to implement with VOP_GETPAGES(), at least not for me in this very moment. Reported by: Andrey V. Elsukov <bu7cher@yandex.ru> @118525 Reorganize the code to reduce diff. @118526 This code path is expected. It is simply when file is opened with O_FSYNC flag. Reported by: kris Reported by: Michal Suszko <dry@dry.pl>
* Fix build breakage. Most of ZFS code is also compiled in userland and Ipjd2007-04-171-0/+1
| | | | should really stop forgetting about that.
* In FreeBSD,simokawa2007-04-142-2/+6
| | | | | | | - cv_timedwait() takes delta instead of absolute time, - we need ioctl() for mediasize. Reviewed by: pjd
* MFp4: Synchronize with vendor (mostly 'zfs rename -r').pjd2007-04-127-115/+288
|
* MFp4: Add missing kmem_size() definition.pjd2007-04-101-0/+1
|
* MFp4: Hide under '#ifdef _KERNEL' only what's really needed.pjd2007-04-101-1/+4
|
* MFp4: Synchronize with recent OpenSolaris changes.pjd2007-04-088-26/+160
|
* If we cannot open /dev/zfs try to load zfs.ko automatically and reopen.pjd2007-04-081-2/+21
|
* Please welcome ZFS - The last word in file systems.pjd2007-04-0651-0/+34506
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