diff options
author | alfred <alfred@FreeBSD.org> | 1999-11-18 08:57:03 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 1999-11-18 08:57:03 +0000 |
commit | be3a1757c09b76b9818ca63134d7cf67b002879c (patch) | |
tree | 6150d2510c4887e5011317c6f2349767a2e81798 /sys/dev/vinum | |
parent | bbcf774aff45933a4867acca6ecb8c4a72402c23 (diff) | |
download | FreeBSD-src-be3a1757c09b76b9818ca63134d7cf67b002879c.zip FreeBSD-src-be3a1757c09b76b9818ca63134d7cf67b002879c.tar.gz |
remove PCATCH from a tsleep that isn't checked for (avoid infinite loop).
this needs to be revisited.
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r-- | sys/dev/vinum/vinumrequest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinumrequest.c b/sys/dev/vinum/vinumrequest.c index d527845..90a8415 100644 --- a/sys/dev/vinum/vinumrequest.c +++ b/sys/dev/vinum/vinumrequest.c @@ -392,7 +392,7 @@ launch_requests(struct request *rq, int reviveok) drive = &DRIVE[rqe->driveno]; /* look at drive */ 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, XXX: should PCATCH */ drive->active++; if (drive->active >= drive->maxactive) drive->maxactive = drive->active; |