Re: [PATCH v5 15/15] dm-verity: improve performance by using multibuffer hashing

Herbert Xu
2024-06-12T09:31:23Z

On Mon, Jun 10, 2024 at 08:48:22PM -0700, Eric Biggers wrote:
>
> + if (++io->num_pending == v->mb_max_msgs) {
> + r = verity_verify_pending_blocks(v, io, bio);
> + if (unlikely(r))
> + goto error;
> }

What is the overhead if you just let it accumulate as large a
request as possible? We should let the underlying algorithm decide
how to divide this up in the most optimal fashion.

Cheers,
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt