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@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt