summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_subr.c
AgeCommit message (Expand)Author
2024-10-31Unlock fs_sysctl(). It is the only `suid_clear' variable - atomicallyVitaliy Makkoveev
2024-10-18Put the bowels of the various VOP_PRINT routines underMiod Vallat
2024-10-17use rw_status instead of interpreting RWL_OWNER to see if a lock is busy.David Gwynne
2024-07-13Revert the vdoom change, while it prevents the crashes on joel's goBob Beck
2024-07-12Add vdoom() to fix ufs/ext2fs re-use of invalid vnode.Bob Beck
2024-07-05remove unused vn_isdisk(), added for softdepJonathan Gray
2024-02-03Remove Softdep.Bob Beck
2022-12-26Replace two (void)copystr(..., NULL) with equivalent (void)strlcpy() calls.Miod Vallat
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-08-12Put more struct vnode fields under splbio().Visa Hankala
2022-03-27sys/vnode.h cleanup for vnode_hold_list, vnode_free_list, struct freelstSebastien Marie
2022-01-25Capture a repeated pattern into sysctl_securelevel_int functionGreg Steuck
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