Re: [PATCH v2 2/7] bvec/iter: disallow zero-length segment bvecs

From: Christoph Hellwig
Date: Mon Jan 04 2021 - 11:20:20 EST


On Sat, Jan 02, 2021 at 03:17:34PM +0000, Pavel Begunkov wrote:
> zero-length bvec segments are allowed in general, but not handled by bio
> and down the block layer so filtered out. This inconsistency may be
> confusing and prevent from optimisations. As zero-length segments are
> useless and places that were generating them are patched, declare them
> not allowed.

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>