]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block/bdev: lift block size restrictions to 64k
authorLuis Chamberlain <mcgrof@kernel.org>
Fri, 21 Feb 2025 22:38:22 +0000 (14:38 -0800)
committerChristian Brauner <brauner@kernel.org>
Mon, 24 Feb 2025 10:44:44 +0000 (11:44 +0100)
commit47dd67532303803a87f43195e088b3b4bcf0454d
treeb854d8ca23f4521819b8e5c722ee3ac888c89405
parent3c20917120ce61f2a123ca0810293872f4c6b5a4
block/bdev: lift block size restrictions to 64k

We now can support blocksizes larger than PAGE_SIZE, so in theory
we should be able to lift the restriction up to the max supported page
cache order. However bound ourselves to what we can currently validate
and test. Through blktests and fstest we can validate up to 64k today.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20250221223823.1680616-8-mcgrof@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
block/bdev.c
include/linux/blkdev.h