Re: [PATCH] Export MDRAID bitmap on disk structure in UAPI header file
From: Christoph Hellwig
Date: Mon Jan 06 2025 - 10:46:20 EST
On Mon, Jan 06, 2025 at 04:40:52PM +0100, Tomáš Mudruňka wrote:
> > the bitmap format is not a userspace ABI, it is an on-disk format.
> > As such it does not belong into the uapi. It might make sense to
> > create a clean standalone header just for the on-disk format that
> > you could copy, though.
>
> If you inspect the header in question, you'll find that this is the exact
> reason why this header exists. To describe "physical layout" of
> MD RAID devices. Which is just fancy way to say "on disk format".
Well, then MD already gets it wrong. No reason to do more of the same.