aboutsummaryrefslogtreecommitdiff
path: root/cddl
Commit message (Collapse)AuthorAgeFilesLines
* 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