diff options
author | 2009-04-29 00:52:30 +0000 | |
---|---|---|
committer | 2009-04-29 00:52:30 +0000 | |
commit | d1df4f038fcbfff18e5b1a21083f283b4901eff8 (patch) | |
tree | 374bad3e015efb3cf7190400a004222b8d100bab /sys/dev/softraid.c | |
parent | MFI_D_IOCTL should be commented out. No binary change. (diff) | |
download | wireguard-openbsd-d1df4f038fcbfff18e5b1a21083f283b4901eff8.tar.xz wireguard-openbsd-d1df4f038fcbfff18e5b1a21083f283b4901eff8.zip |
Use NO_CCB when we run out of work units. This way we don't have to care
about having enough WU + CCB during rebuilds. This also brings softraid
closer to behaving like the other SCSI devices.
Diffstat (limited to 'sys/dev/softraid.c')
-rw-r--r-- | sys/dev/softraid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/softraid.c b/sys/dev/softraid.c index 3085f3fb064..00b6f5282fd 100644 --- a/sys/dev/softraid.c +++ b/sys/dev/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.130 2009/04/28 03:29:00 marco Exp $ */ +/* $OpenBSD: softraid.c,v 1.131 2009/04/29 00:52:30 marco Exp $ */ /* * Copyright (c) 2007 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Chris Kuethe <ckuethe@openbsd.org> @@ -1499,7 +1499,7 @@ sr_scsi_cmd(struct scsi_xfer *xs) if ((wu = sr_wu_get(sd)) == NULL) { DNPRINTF(SR_D_CMD, "%s: sr_scsi_cmd no wu\n", DEVNAME(sc)); - return (TRY_AGAIN_LATER); + return (NO_CCB); } xs->error = XS_NOERROR; |