Subject: CVS commit: src/sys/ufs
To: None <source-changes@netbsd.org>
From: YAMAMOTO Takashi <yamt@netbsd.org>
List: source-changes
Date: 12/26/2002 15:37:22
Module Name:	src
Committed By:	yamt
Date:		Thu Dec 26 13:37:21 UTC 2002

Modified Files:
	src/sys/ufs/lfs: lfs_bio.c lfs_vnops.c
	src/sys/ufs/ufs: ufs_readwrite.c

Log Message:
- in lfs_reserve, reserve locked buffer count as well.
- don't wait for locking buf in lfs_bwrite_ext to avoid deadlocks.
- skip lfs_reserve when we're doing dirop.
  reserve more (for lfs_truncate) in set_dirop instead.

this mostly solves PR 18972. (and hopefully PR 19196)


To generate a diff of this commit:
cvs rdiff -r1.50 -r1.51 src/sys/ufs/lfs/lfs_bio.c
cvs rdiff -r1.69 -r1.70 src/sys/ufs/lfs/lfs_vnops.c
cvs rdiff -r1.44 -r1.45 src/sys/ufs/ufs/ufs_readwrite.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.