Re: [BUG] Regression introduced with "block: split bios to max possible length"

From: Linus Torvalds
Date: Fri Jan 22 2016 - 12:03:18 EST


On Fri, Jan 22, 2016 at 7:06 AM, Ming Lei <tom.leiming@xxxxxxxxx> wrote:
>
> Yes, it is one problem, something like below does fix my test
> with 4K block size.

It just doesn't look very legible.

Also, how could this

> - goto split;
> + if (sectors)
> + goto split;

ever matter? If sectors is 0, something is seriously wrong afaik.

Linus