Linux RAID subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] mdadm: switch management ioctls to /dev/md-control
@ 2026-09-28 21:18 Abd-Alrhman Masalkhi
  2026-09-28 21:18 ` [PATCH 1/2] mdadm: add md_ioctl() for the md control device Abd-Alrhman Masalkhi
  2026-09-28 21:18 ` [PATCH 2/2] mdadm: switch management ioctls to md_ioctl() Abd-Alrhman Masalkhi
  0 siblings, 2 replies; 3+ messages in thread
From: Abd-Alrhman Masalkhi @ 2026-09-28 21:18 UTC (permalink / raw)
  To: yukuai, chengzhihao1, blazej.kucman, mtkaczyk, ncroxon, xni, song
  Cc: linux-raid, Abd-Alrhman Masalkhi

This series updates mdadm to use the kernel's new /dev/md-control
interface for md management ioctls.

The first patch adds the md_ioctl() helper and imports the new UAPI
definitions from the kernel. The helper sends management commands to
/dev/md-control and identifies the target array by name.

The second patch switches mdadm's existing management ioctl users to
md_ioctl() and the new 64-bit ioctl structures.

The kernel-side implementation of the control node can be found here:

https://lore.kernel.org/linux-raid/20260928201224.3602262-1-abd.masalkhi@gmail.com

Abd-Alrhman Masalkhi (2):
  mdadm: add md_ioctl() for the md control device
  mdadm: switch management ioctls to md_ioctl()

 Assemble.c    |   4 +-
 Build.c       |  12 +++---
 Create.c      |  19 ++++----
 Detail.c      |  22 +++++-----
 Grow.c        |  30 ++++++-------
 Incremental.c |   6 +--
 Manage.c      |  44 +++++++++----------
 Query.c       |   4 +-
 managemon.c   |   4 +-
 md_u.h        | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++
 mdadm.c       |   2 +-
 mdadm.h       |  24 +++++++----
 mdmonitor.c   |   8 ++--
 super-ddf.c   |  22 +++++-----
 super-intel.c |  14 +++---
 super0.c      |   6 +--
 super1.c      |   6 +--
 util.c        |  52 ++++++++++++++++------
 18 files changed, 273 insertions(+), 123 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-09-28 21:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-28 21:18 [PATCH 0/2] mdadm: switch management ioctls to /dev/md-control Abd-Alrhman Masalkhi
2026-09-28 21:18 ` [PATCH 1/2] mdadm: add md_ioctl() for the md control device Abd-Alrhman Masalkhi
2026-09-28 21:18 ` [PATCH 2/2] mdadm: switch management ioctls to md_ioctl() Abd-Alrhman Masalkhi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox