Re: [PATCH] block: Fix start and length check added to iov_iter_extract_bvecs()

From: David Howells

Date: Wed Aug 26 2026 - 16:25:18 EST


Keith Busch <kbusch@xxxxxxxxxx> wrote:

> + if (likely(iter_is_ubuf(iter) ||
> + iter_is_iovec(iter) ||
> + iov_iter_is_kvec(iter))) {

I wonder if it's worth making an exception for ITER_KVEC. I know the structs
align, as it were, but do we use ITER_KVEC often enough?

Anyway, it seems to work, so you can add:

Reviewed-by: David Howells <dhowells@xxxxxxxxxx>

if you want to submit the patch yourself.

David