mdadm: Use kernel raid headers
Get series with b4
b4 am [email protected]Versions newest first
- v0 Latest3 patches 1 replyIn review
Patches in v0 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mdadm: Remove klibc and uclibc supportMakefile README.md mdadm.h | +4 | 0 replies | |
| 2/3 | mdadm: include asm/byteorder.hmdadm.h | +1 | 0 replies | |
| 3/3 | mdadm: use kernel raid headersCreate.c Detail.c Examine.c +8 more | +17 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Xiao Ni |
|---|---|
| Series | A-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v0 0/3] mdadm: Use kernel raid headers
From: Mariusz Tkaczyk <[email protected]>
Sending on ML for wider audience. I would like to confirm that there are no objections to remove klibc support.
Kernel is exporting md_p.h and md_u.h which were newer used by mdadm. This patchset integrates them with mdadm. There are some missing defines in kernel headers, so they are redefined in ifndef blocks.
md_p.h includes asm/byteorder.h and it provides endianess casting functions. These functions are also provided by klibc. To fix this, I removed klibc support because I determined that mdadm is not compiling with klibc for at least 3 years.
I also removed uclibc because it is not actively maintained, on other hand we are working to enable musl:
https://github.com/md-raid-utilities/mdadm/issues/76
Thanks for review and feedback.
Mariusz Tkaczyk (3):
mdadm: Remove klibc and uclibc support
mdadm: include asm/byteorder.h
mdadm: use kernel raid headers
Create.c | 2 - Detail.c | 2 - Examine.c | 2 - Grow.c | 6 --- Kill.c | 2 - Makefile | 34 ++------------ Manage.c | 2 - Query.c | 2 - README.md | 3 -- mdadm.h | 108 +++++++------------------------------------- mdmonitor.c | 2 - super1.c | 126 ++-------------------------------------------------- udev.c | 2 - 13 files changed, 22 insertions(+), 271 deletions(-)
Signature · 1 line
2.43.0