f0728fdce1
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. |
||
---|---|---|
.. | ||
genfs_vnops.c | ||
genfs.h | ||
layer_extern.h | ||
layer_subr.c | ||
layer_vfsops.c | ||
layer_vnops.c | ||
layer.h | ||
Makefile |