Christoph Hellwig a34d4ef82c md: make bitmap file support optional
The support for write intent bitmaps in files on an external files in md
is a hot mess that abuses ->bmap to map file offsets into physical device
objects, and also abuses buffer_heads in a creative way.

Make this code optional so that MD can be built into future kernels
without buffer_head support, and so that we can eventually deprecate it.

Note this does not affect the internal bitmap support, which has none of
the problems.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20230615064840.629492-11-hch@lst.de
2023-07-27 00:13:29 -07:00
..
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:07 -05:00
2023-02-14 14:23:06 -05:00
2023-07-27 00:13:29 -07:00
2022-08-02 14:38:59 -07:00
2023-06-13 15:25:39 -07:00
2023-06-13 15:25:39 -07:00
2023-07-27 00:13:29 -07:00
2023-06-13 15:25:39 -07:00
2023-06-13 15:25:39 -07:00
2023-06-27 21:24:18 -07:00
2023-06-27 21:24:18 -07:00
2023-06-13 15:25:39 -07:00