Christoph Hellwig 925c86a19b fs: add CONFIG_BUFFER_HEAD
Add a new config option that controls building the buffer_head code, and
select it from all file systems and stacking drivers that need it.

For the block device nodes and alternative iomap based buffered I/O path
is provided when buffer_head support is not enabled, and iomap needs a
a small tweak to define the IOMAP_F_BUFFER_HEAD flag to 0 to not call
into the buffer_head code when it doesn't exist.

Otherwise this is just Kconfig and ifdef changes.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20230801172201.1923299-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-08-02 09:13:09 -06:00
..
2023-01-19 09:24:27 +01:00
2023-06-26 06:07:09 -07:00
2023-08-02 09:13:09 -06:00
2021-08-23 10:25:51 -07:00
2023-07-05 14:14:37 -07:00
2023-04-18 09:05:54 -07:00
2023-07-05 14:14:37 -07:00
2023-06-26 06:21:41 -07:00
2023-02-27 16:18:51 -08:00
2023-06-26 06:07:10 -07:00