summaryrefslogtreecommitdiffstats
path: root/cddl
Commit message (Collapse)AuthorAgeFilesLines
* Remove _SOLARIS_C_SOURCE now that it doesn't do anything in FreeBSDjb2007-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.
* Remove a couple of definitions which now exist in compatibility headers.jb2007-11-281-2/+0
|
* Add more OpenSolaris compatibilty headers.jb2007-11-286-0/+224
|
* Tweak the handling of "WITHOUT_LIBPTHREAD". Also remove the accidentalobrien2007-10-093-3/+3
| | | | | | | treatment of 'LIBKSE' as an "old style" knob. Submitted by: ru Approved by: re(kensmith)
* Repo copy libpthreads to libkse.obrien2007-10-093-3/+3
| | | | | | This introduces the WITHOUT_LIBKSE nob, and changes WITHOUT_LIBPTHREADS to mean with neither threading libs. Approved by: re(kensmith)
* Don't build bits that depend on the pthreads support if aru2007-10-013-0/+6
| | | | | | system was configured without such support. Approved by: re (kensmith)
* Fixed static linkage (build with -DNO_SHARED).ru2007-10-014-8/+14
| | | | Approved by: re (kensmith)
* 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
* - Reduce number of atomic operations needed to be implemented in asm bypjd2007-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.
* Use provider's ident to handle situations when disks are moved aroundpjd2007-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.
* Clean up a little.pjd2007-05-061-4/+4
| | | | Obtained from: OpenSolaris
* Improve sharenfs option handling, so it is possible to give hosts list.pjd2007-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.
* 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.
* Link libzpool, ztest and zdb against libpthread.pjd2007-04-173-6/+6
| | | | Requested by: ru
* Apply a set of style.Makefile(5) changes to src/cddl/ makefiles.ru2007-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
* 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
|
* Move atomic.S files to directories that better fit OpenSolaris directorypjd2007-04-071-1/+1
| | | | layout.
* Build ZFS on amd64 and pc98.des2007-04-073-9/+3
| | | | Approved by: pjd@
* Please welcome ZFS - The last word in file systems.pjd2007-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/)
OpenPOWER on IntegriCloud