| version 1.40, 2000/08/12 16:28:30 |
version 1.41, 2000/11/19 00:29:51 |
| 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 |