On 11/3/2025 10:12 PM, Christoph Hellwig wrote:
On Mon, Nov 03, 2025 at 09:50:24PM +0800, Yongpeng Yang wrote:
From: Yongpeng Yang yangyongpeng@xiaomi.com
When emulating an nvme device on qemu with both logical_block_size and physical_block_size set to 8 KiB, but without format, a kernel panic was triggered during the early boot stage while attempting to mount a vfat filesystem.
Please split this into a patch per file system, with a proper commit log for each.
Cc: stable@vger.kernel.org # v6.15 Fixes: a64e5a596067bd ("bdev: add back PAGE_SIZE block size validation for sb_set_blocksize()")
That just adds back one error case in sb_set_blocksize.
The Fixes tag should be for the commit adding the call to sb_set_blocksize / sb_min_blocksize in each of the file systems.
Thanks for the suggestion. I'll send v3 and split the changes into multiple patches.
Yongpeng,