summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Initialize the mountlist_slock.art2001-03-161-1/+2
|
* Move v_writecount test back to it original placecsapuntz2001-02-261-6/+18
|
* Make ref counts 32-bit unsigned ints as opposed to a potpourri of longs andcsapuntz2001-02-261-22/+22
| | | | ints.
* Cleanup of vnode interface continues. Get rid of VHOLD/HOLDRELE.csapuntz2001-02-241-93/+152
| | | | | | | | | | | | Change VM/UVM to use buf_replacevnode to change the vnode associated with a buffer. Addition v_bioflag for flags written in interrupt handlers (and read at splbio, though not strictly necessary) Add vwaitforio and use it instead of a while loop of v_numoutput. Fix race conditions when manipulation vnode free list
* Remove the clustering fields from the vnodes and place them in thecsapuntz2001-02-231-9/+2
| | | | file system inode instead
* Latest soft updates from FreeBSD/Kirk McKusickcsapuntz2001-02-211-1/+15
| | | | Snapshot-related code has been commented out.
* do not print stuff when not verbosemickey2001-02-081-2/+3
|
* Minimal optimization.art2000-09-271-3/+5
|
* Don't wait for B_READ buffers on shutdown.art2000-07-171-2/+2
| | | | From NetBSD.
* Use CIRCLEQ_FOREACHcsapuntz2000-04-251-3/+2
|
* see if there is any meaning under curproc before using &proc0 in vfs_syncwait(); from art@mickey2000-04-211-2/+4
|
* With soft updates, some buffers will be remarked as dirty after being written.art1999-12-051-8/+27
| | | | | Handle this when syncing filesystems when unmounting. From NetBSD.
* Use VONSYNCLIST to see if we should remove a vnode from the sync list insteadart1999-12-051-10/+12
| | | | of looking at v_dirtyblkhd.
* more paranoid check of the refcount in vfs_registerart1999-08-201-2/+2
|
* From NetBSD; vdevgone, used for revoking access to device nodes when theyniklas1999-08-081-1/+18
| | | | disappear (detach is coming).
* New struct statfs with mount options. NOTE: this replaces statfs(2),millert1999-05-311-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag.
* factor out sync+wait code into vfa_syncwait() routine formickey1999-05-061-15/+28
| | | | | applications in system like power management and such. art@ finally said `commit it'
* in vput, simple_unlock the v_interlock before VOP_INACTIVE, not afterart1999-04-301-3/+3
|
* backoutderaadt1999-03-111-28/+15
|
* back out unapproved changesderaadt1999-03-111-6/+6
|
* indentmickey1999-03-111-6/+6
|
* factor sync+wait operation out into a separate function.mickey1999-03-111-15/+28
|
* adapt to uvm vnode pagerart1999-02-261-3/+16
|
* add vfs_register and vfs_unregister functionsart1999-02-191-1/+72
|
* simple_lock fixesart1998-12-281-2/+6
|
* deconfuse vprint, print holdcount, not refcount when we are talking about holdcntart1998-12-221-2/+2
|
* vfs_unmountall: retry to unmount all remaining filesystems when one unmount failedart1998-12-101-3/+12
|
* Framework for generating automatic test code for locking disciplinecsapuntz1998-12-051-4/+15
| | | | | | | | | in DIAGNOSTIC mode. Added documentation to vfs_subr.c on locking needs of a couple calls. Improvements to the vinvalbuf patch. We need to start over after we let our pants down.
* VFS-Lite2 requires stricter locking around vnode buffer queues. vinvalbufcsapuntz1998-12-041-5/+8
| | | | had insufficient protection
* vn_lock already unlocks the simple lock. don't do that againart1998-11-201-4/+2
|
* Integrate latest soft updates patches for McKusick.csapuntz1998-11-121-6/+17
| | | | | Integrate cleaner ffs mount code from FreeBSD. Most notably, this mount code prevents you from mounting an unclean file system read-write.
* In vrele, vget, reinstate to following ordercsapuntz1998-10-131-8/+5
| | | | | | | | | | - VNODE gets placed on free list - VOP_INACTIVE is called This was the original order. It was changed in an earlier patch due to a race condition in non-locking FSes (like NFS) between getnewvnode and inactive. However, the modified order had its own race conditions, so it turned out not to be a good choice.
* Cleanup.csapuntz1998-08-301-6/+33
| | | | Error diagnostics in vputonfreelist to catch violations of assumptions.
* Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlockcsapuntz1998-08-061-68/+79
| | | | | | | | | | | | to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts).
* typoniklas1998-04-251-2/+2
|
* typoniklas1998-02-201-2/+2
|
* Fix a couple spinlock references. More code motion in vfs_subr.ccsapuntz1998-01-111-238/+239
|
* Broke up vfs_subr.c which was getting a bit huge. We now have seperate filescsapuntz1998-01-101-451/+6
| | | | for the syncer daemon as well as default VOP_*.
* Fix non-DIAGNOSTIC (and non-COMPAT*) compilationniklas1997-11-241-32/+3
|
* Fixed hang on shutdowncsapuntz1997-11-071-1/+11
| | | | Disabled vop_nolock for now. Filesystems still need to be cleaned up.
* DEBUG now compilescsapuntz1997-11-061-14/+5
|
* Updates for VFS Lite 2 + soft update.csapuntz1997-11-061-213/+1019
|
* back out vfs lite2 till after 2.2deraadt1997-10-061-1018/+212
|
* VFS Lite2 Changescsapuntz1997-10-061-212/+1018
|
* proper mask check; mike@fast.cs.utah.eduderaadt1997-04-251-2/+2
|
* Minor performance enhancements from NetBSDtholo1997-04-141-5/+3
|
* OpenBSD tagsniklas1997-02-241-0/+1
|
* Add fs_id support and random inode generation numbers for ffs.millert1997-02-111-0/+2
|
* spec_advlock() via lf_advlock()kstailey1997-01-041-0/+1
|
* Make {,f}chown(2) behaviour POSIX.1 compliant with SUID / SGID filestholo1996-08-081-0/+54
| | | | | | | Enable CTL_FS processing by sysctl(3) Add CTL_FS request to disable clearing SUID / SGID bit when a files owner or group is changed by root Make sysctl(8) understand CTL_FS requests