| version 1.30.2.1, 2000/11/20 18:09:07 |
version 1.30.2.2, 2000/11/22 16:05:24 |
| Line 1150 pool_setlowat(pp, n) |
|
| Line 1150 pool_setlowat(pp, n) |
|
| : roundup(n, pp->pr_itemsperpage) / pp->pr_itemsperpage; |
: roundup(n, pp->pr_itemsperpage) / pp->pr_itemsperpage; |
| |
|
| /* Make sure we're caught up with the newly-set low water mark. */ |
/* Make sure we're caught up with the newly-set low water mark. */ |
| if ((error = pool_catchup(pp)) != 0) { |
if ((pp->pr_nitems < pp->pr_minitems) && |
| |
(error = pool_catchup(pp)) != 0) { |
| /* |
/* |
| * XXX: Should we log a warning? Should we set up a timeout |
* XXX: Should we log a warning? Should we set up a timeout |
| * to try again in a second or so? The latter could break |
* to try again in a second or so? The latter could break |