From 92c0e33ea787b128490e03841f0eb28272c4bc1d Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Fri, 29 Mar 2013 12:01:00 +0000 Subject: Decouple wakeups on work unit completion from the type of I/O being performed. ok krw@ --- sys/dev/softraid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/softraid.c') 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 * Copyright (c) 2008 Chris Kuethe @@ -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", -- cgit v1.2.3