summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
AgeCommit message (Expand)Author
2021-10-25Revert commitid: ufM9BcSbXqfLpzBH;Claudio Jeker
2021-10-24use NULL not 0 for pointer values in kernJonathan Gray
2021-10-23Sprinkle uvm_obj_destroy() over UVM object recycling code.Martin Pieuchot
2021-10-23Assert that the KERNEL_LOCK() is held in vref(9).Martin Pieuchot
2021-10-21Move vfs_stall_barrier() from the fd layer into vn_lock() and the vfs layer.Claudio Jeker
2021-10-20revert vnode: remove VLOCKSWORK and check locking when vop_islocked != nullopSebastien Marie
2021-10-19vnode: remove VLOCKSWORK and check locking when vop_islocked != nullopSebastien Marie
2021-08-31Swap lock flags so that LK_EXCLUSIVE is first like in all other places.Claudio Jeker
2021-04-28Introduce a global vnode_mtx and use it to make vn_lock() safe to be calledClaudio Jeker
2021-01-29Use NULL instead of 0 to clear v_socket pointer (which actually clears allClaudio Jeker
2020-08-23Remove unused debug_syncprt, improve debug sysctl handlingkn
2020-08-22Move sysctl(2) CTL_DEBUG from DEBUG to new DEBUG_SYSCTLkn
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