summaryrefslogtreecommitdiffstats
path: root/sys/contrib/opensolaris/uts/common/fs/zfs/zfs_vfsops.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove files that have been repo copied to their new locationjb2008-03-281-1021/+0
| | | | in cddl-specific parts of the source tree.
* vn_lock() is currently only used with the 'curthread' passed as argument.attilio2008-01-101-4/+4
| | | | | | | | | | | | | | | | Remove this argument and pass curthread directly to underlying VOP_LOCK1() VFS method. This modify makes the code cleaner and in particular remove an annoying dependence helping next lockmgr() cleanup. KPI results, obviously, changed. Manpage and FreeBSD_version will be updated through further commits. As a side note, would be valuable to say that next commits will address a similar cleanup about VFS methods, in particular vop_lock1 and vop_unlock. Tested by: Diego Sardina <siarodx at gmail dot com>, Andrea Di Pasquale <whyx dot it at gmail dot com>
* Reduce the limit of vnodes on i386 when ZFS is loaded to 3/4 of the originalpjd2007-09-101-0/+41
| | | | | | | | | | | | | value, so we don't run out of KVA. The default vnodes limit fits better for UFS, but ZFS allocated more file system specific memory for a vnode than UFS. Don't touch vnodes limit if we detect it was tuned by system administrator and restore original value when ZFS is unloaded. This isn't final fix, but before we implement something better, this will help to stabilize ZFS under heavy load on i386. Approved by: re (bmah)
* In zfs_vget, if we fail to translate an inode number to the correspondingdfr2007-06-271-1/+1
| | | | | | | vnode, make sure we return an error code to the caller. Reviewed by: pjd Approved by: re
* - Reduce number of atomic operations needed to be implemented in asm bypjd2007-06-081-3/+0
| | | | | | | 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.
* - Lock vnode with flags passed in as argument in zfs_vget() and zfs_root().pjd2007-05-021-2/+4
| | | | | | | Pointed out by: ups Also reported by: kris - Add comments where I'm not sure if LK_RETRY should be used.
* White space fixes.pjd2007-05-011-2/+2
|
* MFp4: Reduce diff against vendor code:pjd2007-04-231-0/+2
| | | | | | - Move FreeBSD-specific code to zfs_freebsd_*() functions in zfs_vnops.c and keep original functions as similar to vendor's code as possible. - Add various includes back, now that we have them.
* MFp4: We check for PRIV_VFS_MOUNT already in mount(2) syscall and we don'tpjd2007-04-181-4/+0
| | | | | want to do the check when snapshot is automatically mounted by an unprivileged user doing lookup on a snapshot directory.
* MFp4: Hmm, it seems to work now.pjd2007-04-141-8/+1
|
* MFp4: Allow to tune vfs.zfs.debug from loader.conf.pjd2007-04-141-0/+1
|
* Drop the Giant lock before calling zfs_domount(), which is held whenpjd2007-04-091-1/+4
| | | | mounting root file system.
* Please welcome ZFS - The last word in file systems.pjd2007-04-061-0/+986
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