Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Konrad Schroder <perseant@netbsd.org>
List: source-changes
Date: 03/25/1999 14:26:53
Module Name: src
Committed By: perseant
Date: Thu Mar 25 22:26:52 UTC 1999
Modified Files:
src/sys/ufs/lfs: lfs_bio.c lfs_segment.c lfs_syscalls.c
Log Message:
Fixes to make dirops and lfs_vflush play together well. In particular,
if we are short on vnodes, lfs_vflush from another process can grab a
vnode that lfs_markv has already processed but not yet written; but
lfs_markv holds the seglock. When lfs_vflush gets around to writing it,
the context for copyin is gone. So, now lfs_markv calls copyin itself,
rather than having lfs_writeseg do it.