CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2020/02/14 04:57:56
Modified files: sys/kern : vfs_vops.c Log message: The v_inflight counter was added to mark vnodes that currently do an operation that modifies the filesystem as inflight. This is used in the sync calls (on suspend and hibernate) to mark filesystems clean if no work is in flight. VOP_UNLOCK() also got the v_inflight dance but VOP_UNLOCK does not alter filesystem space and so it does not matter if VOP_UNLOCK() is currently run. Also VOP_UNLOCK() does not sleep so there is no way for the sync code to see an inflight VOP_UNLOCK(). OK visa@