cvs commit: src/sys/kern vfs_cluster.c
Ian Dowse
iedowse at FreeBSD.org
Wed May 28 06:22:12 PDT 2003
iedowse 2003/05/28 06:22:10 PDT
FreeBSD src repository
Modified files:
sys/kern vfs_cluster.c
Log:
In cluster_wbuild(), initialise b_iocmd to BIO_WRITE before calling
buf_start() to avoid triggering a panic in softdep_disk_io_initiation()
if b_iocmd happened to be BIO_READ. The later initialisation of
b_iocmd in cluster_wbuild() could probably be moved to before the
buf_start() call, but this patch keeps the change as simple as
possible.
This is reported to fix occasional "softdep_disk_io_initiation: read"
panics, especially on NFS servers.
Reported by: Nick Hilliard <nick at netability.ie>
Tested by: Nick Hilliard <nick at netability.ie>
Approved by: re (rwatson)
Revision Changes Path
1.138 +3 -1 src/sys/kern/vfs_cluster.c
More information about the cvs-src
mailing list