diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2020-01-10 10:33:36 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2020-01-10 10:33:36 +0000 |
commit | 6c0fb7224acfdbdbd5c415c3ec0fb17df8e915f2 (patch) | |
tree | 493e941f6d545e2cfd7b301c416a79270648d45d /share/man/man7 | |
parent | 35af534ee1ffecfb9dee1d76b418166259a49ba6 (diff) |
Convert the vnode list at the mount point into a tailq. During
unmount this list is traversed and the dirty vnodes are flushed to
disk. Forced unmount expects that the list is empty after flushing,
otherwise the kernel panics with "dangling vnode". As the write
to disk can sleep, new vnodes may be inserted. If softdep is
enabled, resolving the dependencies creates new dirty vnodes and
inserts them to the list. To fix the panic, let insmntque() insert
new vnodes at the tail of the list. Then vflush() will still catch
them while traversing the list in forward direction.
OK tedu@ millert@ visa@
Diffstat (limited to 'share/man/man7')
0 files changed, 0 insertions, 0 deletions