[PATCHv2] nvmet: lift blocksize restriction to 64k

Hannes Reinecke hare at suse.de
Fri Feb 20 08:42:25 PST 2026


On 2/20/26 16:32, Christoph Hellwig wrote:
> On Fri, Feb 20, 2026 at 04:12:59PM +0100, Hannes Reinecke wrote:
>> With commit 47dd67532303 ("block/bdev: lift block size restrictions to 64k")
>> we can now support up to 64k block sizes, so lift the restriction on 4k for
>> file-backed namespaces.
> 
> Still not sure this is a great idea by default.  Yes, modern Linux supports
> 64k sector sizes, but even then just for a few file systems.  And this
> changes existing setups, which will now break when upgrading the kernel.
> 
How so? There cannot be any existing nvmet setup with an LBS backing 
device, as the device will be rejected when trying to setup the target.
Which breakage do you see here?

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare at suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich



More information about the Linux-nvme mailing list