Re: [PATCH 6/6] fs: add CONFIG_BUFFER_HEAD

From: Christoph Hellwig
Date: Fri Jul 21 2023 - 02:26:09 EST


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 :)