summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
AgeCommit message (Expand)Author
2020-03-27Relax the lockcount assertion in vputonfreelist(). Back when I fixedanton
2020-02-13Move the LK_DRAIN logic from VOP_LOCK() to vclean() the only caller ofClaudio Jeker
2020-01-20struct vops is not modified during runtime so use const which moves eachClaudio Jeker
2020-01-10Convert the vnode list at the mount point into a tailq. DuringAlexander Bluhm
2019-12-30In vcount() a safe loop over vnodes was commited to 4.4BSD in 1994.Alexander Bluhm
2019-12-27Convert the speclisth hash buckets into SLIST macros. This makesAlexander Bluhm
2019-12-26Fix white spaces.Alexander Bluhm
2019-12-08Convert infinite sleeps to tsleep_nsec(9).Martin Pieuchot
2019-08-26When a thread tries to exclusively lock a vnode, the same thread mustanton
2019-07-25vinvalbuf(9): tlseep -> tsleep_nsec(9); ok millert@cheloha
2019-07-19vwaitforio(9): tsleep(9) -> tsleep_nsec(9); ok visa@cheloha
2019-06-28Skip VFS barrier lock during normal operation to reduce overhead.Visa Hankala
2019-06-09Add a temporary workaround to make removal of giant files betterBob Beck
2019-04-19Add a subsystem lock for vfs_lockf.c. This enables calling lf_advlock()Visa Hankala
2019-04-02Restrict which filesystems are available for swap. This rules outVisa Hankala
2019-02-17if a write fails, we mark the buffer invalid and throw it away. this canTed Unangst
2019-01-21Introduce a dedicated entry point data structure for file locks. This new dataanton
2018-12-23Rectify some issues with the noperm mount flag; the root vnode was notMartin Natano
2018-12-07free(9) sizes for netcred.Martin Pieuchot
2018-09-29Use atomic operations to update vfc_refcount. Change the field's typeVisa Hankala
2018-09-26Move the allocating and freeing of mount points intoVisa Hankala
2018-09-22Harmonize spacing after ellipses in displayed messages.Frederic Cambus
2018-09-17Simplify VFS initialization.Visa Hankala
2018-09-16Move vfsconf lookup code into dedicated functions.Visa Hankala
2018-07-13Unveiling unveil(2).Bob Beck
2018-07-02Use more list macros for v_dirtyblkhd.Alexander Bluhm
2018-06-06The function dounmount() traverses the mnt_list in forward directionAlexander Bluhm
2018-06-04Add VB_DUPOK to suppress witness(4) warning of concurrent mount locks.Philip Guenther
2018-05-27Drop unnecessary `p' parameter from vget(9).Visa Hankala
2018-05-08When looping over mount points, the FOREACH SAVE macro is not save.Alexander Bluhm
2018-05-08Move the vfs stall "barrier" logic to a function. FREF() will soonMartin Pieuchot
2018-05-07Print the vp pointer in the vinvalbuf() panic strings.Alexander Bluhm
2018-05-02Remove proc from the parameters of vn_lock(). The parameter isVisa Hankala
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-03-07Remounting files systems read-only does not work reliably. ThereAlexander Bluhm
2018-02-10Syncronize filesystems to disk when suspending. Each mountpoint's vnodesTheo de Raadt
2017-12-14Don't bother using DETACH_FORCE for the softraid luns at rebootTheo de Raadt
2017-12-14Give vflush_vnode() a hint about vnodes we don't need to account as "busy".Theo de Raadt
2017-12-11Format the vnode lists of ddb show mount properly in columns.Alexander Bluhm
2017-12-11In uvm Chuck decided backing store would not be allocated proactivelyTheo de Raadt
2017-12-04Use _kernel_lock_held() instead of __mp_lock_held(&kernel_lock).Martin Pieuchot
2017-07-31Give back some space to the ramdisk by compiling net/radix.c onlyFlorian Obser
2017-04-20Tweak lock inits to make the system runnable with witness(4)Visa Hankala
2017-04-04struct vfsconf is tightly packed, but let's M_ZERO it in case that everTheo de Raadt
2017-01-15When traversing the mount list, the current mount point is lockedAlexander Bluhm
2017-01-10Replace manual for() loops with FOREACH() macro.Alexander Bluhm
2017-01-10Remove the unused olddp parameter from function dounmount().Alexander Bluhm
2016-09-28Cast enum to u_int when doing a bounds check to avoid a clang warning thatMark Kettenis
2016-09-16move the namecache_rb_tree from RB macros to RBT functions.David Gwynne
2016-09-16move buf_rb_bufs from RB macros to RBT functionsDavid Gwynne