Date: Wed, 28 May 2003 06:22:10 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_cluster.c Message-ID: <200305281322.h4SDMA8Q021385@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@netability.ie>
Tested by: Nick Hilliard <nick@netability.ie>
Approved by: re (rwatson)
Revision Changes Path
1.138 +3 -1 src/sys/kern/vfs_cluster.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305281322.h4SDMA8Q021385>
