aboutsummaryrefslogtreecommitdiff
path: root/cddl
Commit message (Collapse)AuthorAgeFilesLines
* We need to be consistent with prototype definitions. It isn't OK toJohn Birrell2008-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. Notes: svn path=/head/; revision=178544
* Make this file compile cleanly.John Birrell2008-04-261-25/+25
| | | | Notes: svn path=/head/; revision=178542
* Apply FreeBSD changes.John Birrell2008-04-264-6/+26
| | | | Notes: svn path=/head/; revision=178540
* On FreeBSD we can't afford to have a build fail simply because thereJohn Birrell2008-04-261-0/+14
| | | | | | | was some sort of CTF conversion error. Notes: svn path=/head/; revision=178539
* Add a missing include file. We care about function prototype definitions.John Birrell2008-04-261-0/+1
| | | | Notes: svn path=/head/; revision=178538
* Apply FreeBSD changes.John Birrell2008-04-261-6/+66
| | | | | | | | There is an incomplete piece of code in here which requires the process handling library which is still under development. Notes: svn path=/head/; revision=178537
* * Set the path to perl on FreeBSD.John Birrell2008-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. Notes: svn path=/head/; revision=178536
* Set the path to perl on FreeBSD.John Birrell2008-04-261-1/+1
| | | | Notes: svn path=/head/; revision=178535
* Port these test files to work under FreeBSD.John Birrell2008-04-2630-183/+296
| | | | Notes: svn path=/head/; revision=178534
* This commit was generated by cvs2svn to compensate for changes in r178528,John Birrell2008-04-2698-2717/+705
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178529
* This commit was generated by cvs2svn to compensate for changes in r178525,John Birrell2008-04-2526-0/+9898
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178526
* This commit was generated by cvs2svn to compensate for changes in r178481,John Birrell2008-04-2540-0/+13733
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178482
* This commit was generated by cvs2svn to compensate for changes in r178479,John Birrell2008-04-2564-0/+40194
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178480
* This commit was generated by cvs2svn to compensate for changes in r178476,John Birrell2008-04-251428-0/+86505
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178477
* Add FreeBSD IDs to files that originate in FreeBSD.John Birrell2008-04-229-0/+18
| | | | Notes: svn path=/head/; revision=178414
* Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longerRuslan Ermilov2008-03-293-3/+3
| | | | | | | build libkse. This should fix WITHOUT_LIBTHR builds as a side effect. Notes: svn path=/head/; revision=177714
* The sources covered by Sun's CDDL have been repo copied below theJohn Birrell2008-03-2711-96/+96
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=177674
* Remove _SOLARIS_C_SOURCE now that it doesn't do anything in FreeBSDJohn Birrell2007-11-282-2/+5
| | | | | | | | | headers. All OpenSolaris compatibility comes via the set of specific compatibility headers in src/compat/opensolaris and src/sys/compat/opensolaris. Notes: svn path=/head/; revision=174059
* Remove a couple of definitions which now exist in compatibility headers.John Birrell2007-11-281-2/+0
| | | | Notes: svn path=/head/; revision=174045
* Add more OpenSolaris compatibilty headers.John Birrell2007-11-286-0/+224
| | | | Notes: svn path=/head/; revision=174035
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalDavid E. O'Brien2007-10-093-3/+3
| | | | | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith) Notes: svn path=/head/; revision=172500
* Repo copy libpthreads to libkse.David E. O'Brien2007-10-093-3/+3
| | | | | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith) Notes: svn path=/head/; revision=172491
* Don't build bits that depend on the pthreads support if aRuslan Ermilov2007-10-013-0/+6
| | | | | | | | | system was configured without such support. Approved by: re (kensmith) Notes: svn path=/head/; revision=172404
* Fixed static linkage (build with -DNO_SHARED).Ruslan Ermilov2007-10-014-8/+14
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=172402
* Now that we have CDDLed code in the tree, add CDDL license.Pawel Jakub Dawidek2007-09-231-0/+384
| | | | | | | | Discussed with: core Approved by: re (kensmith) Notes: svn path=/head/; revision=172301
* Use ioctl() to get correct media size so that we can locateHidetoshi Shimokawa2007-08-071-1/+9
| | | | | | | | | ZFS labels in the tail of the media. Approved by: re (kensmith), pjd Notes: svn path=/head/; revision=171776
* - Reduce number of atomic operations needed to be implemented in asm byPawel Jakub Dawidek2007-06-084-7/+6
| | | | | | | | | | 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. Notes: svn path=/head/; revision=170431
* Use provider's ident to handle situations when disks are moved aroundPawel Jakub Dawidek2007-05-064-22/+180
| | | | | | | | | | 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. Notes: svn path=/head/; revision=169303
* Clean up a little.Pawel Jakub Dawidek2007-05-061-4/+4
| | | | | | | Obtained from: OpenSolaris Notes: svn path=/head/; revision=169301
* Improve sharenfs option handling, so it is possible to give hosts list.Pawel Jakub Dawidek2007-04-211-8/+25
| | | | | | | | | | | | | | | | | | | Before the change the command above: # zfs set sharenfs=freefall.freebsd.org,69.147.83.54 tank/foo was translated to: /tank/foo -freefall.freebsd.org -69.147.83.54 instead of: /tank/foo freefall.freebsd.org 69.147.83.54 This commit corrects this. Notes: svn path=/head/; revision=168929
* MFp4:Pawel Jakub Dawidek2007-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> Notes: svn path=/head/; revision=168926
* Fix build breakage. Most of ZFS code is also compiled in userland and IPawel Jakub Dawidek2007-04-171-0/+1
| | | | | | | should really stop forgetting about that. Notes: svn path=/head/; revision=168825
* Link libzpool, ztest and zdb against libpthread.Pawel Jakub Dawidek2007-04-173-6/+6
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=168818
* Apply a set of style.Makefile(5) changes to src/cddl/ makefiles.Ruslan Ermilov2007-04-1617-195/+172
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=168792
* In FreeBSD,Hidetoshi Shimokawa2007-04-142-2/+6
| | | | | | | | | | - cv_timedwait() takes delta instead of absolute time, - we need ioctl() for mediasize. Reviewed by: pjd Notes: svn path=/head/; revision=168722
* MFp4: Synchronize with vendor (mostly 'zfs rename -r').Pawel Jakub Dawidek2007-04-127-115/+288
| | | | Notes: svn path=/head/; revision=168676
* MFp4: Add missing kmem_size() definition.Pawel Jakub Dawidek2007-04-101-0/+1
| | | | Notes: svn path=/head/; revision=168584
* MFp4: Hide under '#ifdef _KERNEL' only what's really needed.Pawel Jakub Dawidek2007-04-101-1/+4
| | | | Notes: svn path=/head/; revision=168582
* MFp4: Synchronize with recent OpenSolaris changes.Pawel Jakub Dawidek2007-04-088-26/+160
| | | | Notes: svn path=/head/; revision=168498
* If we cannot open /dev/zfs try to load zfs.ko automatically and reopen.Pawel Jakub Dawidek2007-04-081-2/+21
| | | | Notes: svn path=/head/; revision=168484
* Move atomic.S files to directories that better fit OpenSolaris directoryPawel Jakub Dawidek2007-04-071-1/+1
| | | | | | | layout. Notes: svn path=/head/; revision=168482
* Build ZFS on amd64 and pc98.Dag-Erling Smørgrav2007-04-073-9/+3
| | | | | | | Approved by: pjd@ Notes: svn path=/head/; revision=168475
* Please welcome ZFS - The last word in file systems.Pawel Jakub Dawidek2007-04-0685-0/+36027
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/) Notes: svn path=/head/; revision=168404