]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
complete_rqe: Remove a race condition in RAID-4 and RAID-5 where a
authorGreg Lehey <grog@FreeBSD.org>
Thu, 6 Apr 2000 03:03:31 +0000 (03:03 +0000)
committerGreg Lehey <grog@FreeBSD.org>
Thu, 6 Apr 2000 03:03:31 +0000 (03:03 +0000)
commitbd131be7d168df5bfcb982ddd4cbfdd2b8ded991
tree5e2f777ba599c7cc6429d21cdf3f36000e02164c
parent2eb1626e612a645e7775d23e1c8cc089a4ceb1cc
complete_rqe: Remove a race condition in RAID-4 and RAID-5 where a
request could be deallocated before the top half had finished
issuing it.  The problem seems only to happen with IDE drives
and vn devices, but theoretically it could happen with any
drive.  This is the most important part of a possible series
of fixes designed to remove race conditions without locking
out interrupts for longer than absolutely necessary.

Reported-by:        sos
Fix-supplied-by: dillon
sys/dev/vinum/vinuminterrupt.c