> 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". $ head /usr/include/linux/raid/md_p.h /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* md_p.h : physical layout of Linux RAID devices Copyright (C) 1996-98 Ingo Molnar, Gadi Oxman po 6. 1. 2025 v 16:25 odesílatel Christoph Hellwig <hch@xxxxxxxxxxxxx> napsal: > > On Tue, Dec 31, 2024 at 04:09:27AM +0100, Tomas Mudrunka wrote: > > When working on software that manages MD RAID disks from > > userspace. Currently provided headers only contain MD superblock. > > That is not enough to fully populate MD RAID metadata. > > Therefore this patch adds bitmap superblock as well. > > 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. >