Re: Weird blockdev crash in 6.15-rc1?

Christoph Hellwig
2025-04-10T07:40:15Z

On Wed, Apr 09, 2025 at 12:09:07PM -0700, Darrick J. Wong wrote:
> Subject: [PATCH] block: fix race between set_blocksize and IO paths
>
> With the new large sector size support, it's now the case that
> set_blocksize needs to change i_blksize and the folio order with no
> folios in the pagecache because the geometry changes cause problems with
> the bufferhead code.

Urrg. I wish we could just get out of the game of messing with
block device inode settings from file systems. I guess doing it when
using buffer_heads is hard, but file systems without buffer heads
should have a way out of even propagating their block size to the
block device inode. And file systems with buffer heads should probably
not support large folios like this :P