Re: [PATCH 1/2] block: Rework bio_for_each_segment_all()

From: Kent Overstreet
Date: Thu Mar 30 2023 - 13:55:39 EST


On Wed, Mar 29, 2023 at 05:50:27PM +0100, Phillip Lougher wrote:
> There is a problem with the above code, on testing I get the following
> results:
>
> Index 78018785329, offset 49, bvec.bv_len 1024: In same bio, metadata length
> 32780

Could you share how you're doing your testing? I set up a basic test
(created images using every compression type, tested reading them) and
so far I'm not able to reproduce this.