Re: [PATCH] block: reject bs > ps block devices when THP is disabled
From: Pankaj Raghav
Date: Fri Jul 04 2025 - 10:05:29 EST
On 7/4/25 14:46, Matthew Wilcox wrote:
> On Fri, Jul 04, 2025 at 11:21:34AM +0200, Pankaj Raghav wrote:
>> As large folio support depends on THP, only allow bs > ps block devices
>> if THP is enabled.
>
> I mean, it's a quick fix, so sure. But really we should remove that
> dependency. Particularly for bs>PS as there's no need for any of the
> splitting code.
Ok, I didn't know that. Let's add this as a stop gap and I will take a look so
that we can remove this dependency.
Thanks.
--
Pankaj