NetBSD/sys/miscfs/genfs
perseant f0728fdce1 Change the sementics of the last parameter from a boolean ("waitfor") to
a set of flags ("flags").  Two flags are defined, UPDATE_WAIT and
UPDATE_DIROP.

Under the old semantics, VOP_UPDATE would block if waitfor were set,
under the assumption that directory operations should be done
synchronously.  At least LFS and FFS+softdep do not make this
assumption; FFS+softdep got around the problem by enclosing all relevant
calls to VOP_UPDATE in a "if(!DOINGSOFTDEP(vp))", while LFS simply
ignored waitfor, one of the reasons why NFS-serving an LFS filesystem
did not work properly.

Under the new semantics, the UPDATE_DIROP flag is a hint to the
fs-specific update routine that the call comes from a dirop routine, and
should be wait for, or not, accordingly.

Closes PR#8996.
2000-05-13 23:43:06 +00:00
..
Makefile
genfs.h
genfs_vnops.c Change the sementics of the last parameter from a boolean ("waitfor") to 2000-05-13 23:43:06 +00:00
layer.h Delete redundant decl of layer_node_create(), it's in layer_extern.h. 2000-03-30 02:19:16 +00:00
layer_extern.h Add new VFS op routine - vfs_done and call it on filesystem detach 2000-03-16 18:08:17 +00:00
layer_subr.c Add new VFS op routine - vfs_done and call it on filesystem detach 2000-03-16 18:08:17 +00:00
layer_vfsops.c
layer_vnops.c Register, begone! 2000-03-30 12:22:12 +00:00