Re: [PATCH] block: fix bio splitting on max sectors

From: Linus Torvalds
Date: Fri Jan 22 2016 - 15:32:39 EST


[ Grr. re-sending due to stupid html from android mobile app. ]

On Jan 22, 2016 12:11 PM, "Keith Busch" <keith.busch@xxxxxxxxx> wrote:
>
> The value of max_sectors doesn't change in this function

Why do you say that? It depends on the offset, so it clearly *does* change.

Now, if the patch did what I suggested and made max_sector and the cluster
size thing be separate, then *those* would indeed be constant over the whole
function.

Linus