aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Use provider's ident to handle situations when disks are moved aroundPawel Jakub Dawidek2007-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. 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
* 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
* 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
* Please welcome ZFS - The last word in file systems.Pawel Jakub Dawidek2007-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/) Notes: svn path=/head/; revision=168404