Index | Thread | Search

From:
Vitaliy Makkoveev <mvs@openbsd.org>
Subject:
Re: update pool_sethardlimit in pool.9
To:
Dave Voutila <dv@sisu.io>
Cc:
tech@openbsd.org
Date:
Mon, 27 Oct 2025 00:31:49 +0300

Download raw body.

Thread
On Sun, Oct 26, 2025 at 01:06:08PM -0400, Dave Voutila wrote:
> Looks like mvs@ removed these arguments a few months ago.
> 
> ok?
> 

Sure

> -dv
> 
> diff c1e59316ede7ec393e35134268a96a83f3449d4d refs/heads/vmm-fd-lifecycle
> commit - c1e59316ede7ec393e35134268a96a83f3449d4d
> commit + 0ba08f5073ccfa6385a58896559f8fe88544e90d
> blob - 7880076e94328b85f57a39a9090d1bfb03c67d75
> blob + 26f8272a545e46542d54b3451e909de83f4d4a9a
> --- share/man/man9/pool.9
> +++ share/man/man9/pool.9
> @@ -72,8 +72,6 @@
>  .Fo pool_sethardlimit
>  .Fa "struct pool *pp"
>  .Fa "unsigned n"
> -.Fa "const char *warnmess"
> -.Fa "int ratecap"
>  .Fc
>  .Sh DESCRIPTION
>  These utility routines provide management of pools of fixed-sized
> @@ -283,11 +281,6 @@ The function
>  sets a hard limit on the pool to
>  .Fa n
>  items.
> -If the hard limit is reached
> -.Fa warnmess
> -will be printed to the console, but no more than every
> -.Fa ratecap
> -seconds.
>  Upon successful completion, a value of 0 is returned.
>  The value EINVAL is returned when the current size of the pool
>  already exceeds the requested hard limit.
>