summaryrefslogtreecommitdiffstats
path: root/sys/cddl/compat
Commit message (Collapse)AuthorAgeFilesLines
* strchr() and strrchr() are already present in the kernel, but with lesswkoszek2007-04-102-33/+2
| | | | | | | | | | | | | popular names. Hence: - comment current index() and rindex() functions, as these serve the same functionality as, respectively, strchr() and strrchr() from userland; - add inlined version of strchr() and strrchr(), as we tend to use them more often; - remove str[r]chr() definitions from ZFS code; Reviewed by: pjd Approved by: cognet (mentor)
* Try to stabilize ZFS with regard to memory consumption:pjd2007-04-102-8/+26
| | | | | | | | | | | | | | | | | | - Allow to shrink ARC down to 16MB (instead of 64MB). - Set arc_max to 1/2 of kmem_map by default. - Start freeing things earlier when low memory situation is detected. - Serialize execution of arc_lowmem(). I decided to setup minimum ZFS memory requirements to 512MB of RAM and 256MB of kmem_map size. If there is less RAM or kmem_map, a warning will be printed. World is cruel, be no better. In other words: modern file system requires modern hardware:) From ZFS administration guide: "Currently the minimum amount of memory recommended to install a Solaris system is 512 Mbytes. However, for good ZFS performance, at least one Gbyte or more of memory is recommended."
* Instead of detecting if lock is already initialized based on standard 1 bitpjd2007-04-093-2/+55
| | | | | | | check, use more accurate 13 bits check. We had too many false-positives with the standard check. Reported by: mlaier
* Extend kobj compatibility KPI to support operating on files before andpjd2007-04-082-16/+102
| | | | | after the root file system is mounted. This is one of the changes that will allow to put root file system on ZFS.
* MFp4: Synchronize with recent OpenSolaris changes.pjd2007-04-082-0/+95
|
* Please welcome ZFS - The last word in file systems.pjd2007-04-0642-0/+4244
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