From a9dd30b96b2a13e6aa77641333165cc8fe417f53 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Mon, 10 Jan 2000 10:24:47 +0000 Subject: [PATCH] revision 1.40 backed out the removal of PCATCH in a tsleep allowing an infinite loop if a signal is delivered here. remove it again, this still ought to be revisited as the error should probably be returned. --- sys/dev/vinum/vinumrequest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/vinum/vinumrequest.c b/sys/dev/vinum/vinumrequest.c index e443cdeb4f0..0ad17e74cec 100644 --- a/sys/dev/vinum/vinumrequest.c +++ b/sys/dev/vinum/vinumrequest.c @@ -403,7 +403,7 @@ launch_requests(struct request *rq, int reviveok) s = splbio(); /* lock out the interrupt routines */ while ((drive->active >= DRIVE_MAXACTIVE) /* it has too much to do already, */ ||(vinum_conf.active >= VINUM_MAXACTIVE)) /* or too many requests globally */ - tsleep(&launch_requests, PRIBIO | PCATCH, "vinbuf", 0); /* wait for it to subside */ + tsleep(&launch_requests, PRIBIO, "vinbuf", 0); /* wait for it to subside */ drive->active++; if (drive->active >= drive->maxactive) drive->maxactive = drive->active;