From: Abd-Alrhman Masalkhi <abd.masalkhi@gmail.com>
To: yukuai@fygo.io, chengzhihao1@huawei.com,
blazej.kucman@graidtech.com, mtkaczyk@kernel.org,
ncroxon@redhat.com, xni@redhat.com, song@kernel.org
Cc: linux-raid@vger.kernel.org,
Abd-Alrhman Masalkhi <abd.masalkhi@gmail.com>
Subject: [PATCH 0/2] mdadm: switch management ioctls to /dev/md-control
Date: Mon, 28 Sep 2026 21:18:47 +0000 [thread overview]
Message-ID: <20260928211849.3602414-1-abd.masalkhi@gmail.com> (raw)
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
next reply other threads:[~2026-09-28 21:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-28 21:18 Abd-Alrhman Masalkhi [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260928211849.3602414-1-abd.masalkhi@gmail.com \
--to=abd.masalkhi@gmail.com \
--cc=blazej.kucman@graidtech.com \
--cc=chengzhihao1@huawei.com \
--cc=linux-raid@vger.kernel.org \
--cc=mtkaczyk@kernel.org \
--cc=ncroxon@redhat.com \
--cc=song@kernel.org \
--cc=xni@redhat.com \
--cc=yukuai@fygo.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox