Thread (42 messages) 42 messages, 7 authors, 2023-06-16

Re: [PATCH 10/11] md: make bitmap file support optional

From: Hannes Reinecke <hare@suse.de>
Date: 2023-06-15 08:37:57
Also in: linux-block, linux-fsdevel

On 6/15/23 08:48, Christoph Hellwig wrote:
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>
---
  drivers/md/Kconfig     | 10 ++++++++++
  drivers/md/md-bitmap.c | 15 +++++++++++++++
  drivers/md/md.c        |  7 +++++++
  3 files changed, 32 insertions(+)
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help