summaryrefslogtreecommitdiff
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2013-03-29 12:01:00 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2013-03-29 12:01:00 +0000
commit92c0e33ea787b128490e03841f0eb28272c4bc1d (patch)
treeaffa95b477129686756cc0a5480a327fad646ce0 /sys/dev/softraid.c
parent47402ef2aa149da75c4b1dba5a74866f852074f1 (diff)
Decouple wakeups on work unit completion from the type of I/O being
performed. ok krw@
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r--sys/dev/softraid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c
index 380d8032cb2..b7216d91779 100644
--- a/sys/dev/softraid.c
+++ b/sys/dev/softraid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: softraid.c,v 1.292 2013/03/29 11:46:43 jsing Exp $ */
+/* $OpenBSD: softraid.c,v 1.293 2013/03/29 12:00:59 jsing Exp $ */
/*
* Copyright (c) 2007, 2008, 2009 Marco Peereboom <marco@peereboom.us>
* Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org>
@@ -4570,7 +4570,7 @@ sr_rebuild_thread(void *arg)
cw->opcode = WRITE_16;
_lto4b(sz, cw->length);
_lto8b(lba, cw->addr);
- wu_w->swu_flags |= SR_WUF_REBUILD;
+ wu_w->swu_flags |= SR_WUF_REBUILD | SR_WUF_WAKEUP;
wu_w->swu_xs = &xs_w;
if (sd->sd_scsi_rw(wu_w)) {
printf("%s: could not create write io\n",