On Thu, Jul 20, 2023 at 05:53:52PM +0200, Hannes Reinecke wrote: > Can we modify this to not have a compile-time option but rather a setting > somewhere? EG kernel option or flag in struct address_space? Modify what? The current code diables buffer_head suport on the block devices when the kernel does not support buffer_heads. There is no good way to make that a run time decision :)