All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v0 0/3] mdadm: Use kernel raid headers
@ 2025-03-19 17:10 mtkaczyk
  2025-03-19 17:10 ` [PATCH v0 1/3] mdadm: Remove klibc and uclibc support mtkaczyk
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mtkaczyk @ 2025-03-19 17:10 UTC (permalink / raw)
  To: linux-raid; +Cc: Mariusz Tkaczyk, Xiao Ni, Nigel Croxon, Song Liu, Yu Kuai

From: Mariusz Tkaczyk <mtkaczyk@kernel.org>

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.

CC: Xiao Ni <xni@redhat.com>
CC: Nigel Croxon <ncroxon@redhat.com>
CC: Song Liu <song@kernel.org>
CC: Yu Kuai <yukuai@kernel.org>
Link: https://github.com/md-raid-utilities/mdadm/pull/149

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-20  5:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-19 17:10 [PATCH v0 0/3] mdadm: Use kernel raid headers mtkaczyk
2025-03-19 17:10 ` [PATCH v0 1/3] mdadm: Remove klibc and uclibc support mtkaczyk
2025-03-19 17:10 ` [PATCH v0 2/3] mdadm: include asm/byteorder.h mtkaczyk
2025-03-19 17:10 ` [PATCH v0 3/3] mdadm: use kernel raid headers mtkaczyk
2025-03-20  5:45 ` [PATCH v0 0/3] mdadm: Use " Xiao Ni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.