Skip to content

md: generate CHANGE uevents for md device

Kinga Stefaniuk linux-raid 13 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v14 Latest1 patch 4 repliesIn review
  2. v131 patch 2 repliesSuperseded
  3. v121 patch 1 replySuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v111 patch1 replySuperseded
v101 patch0 repliesSuperseded
v91 patch1 replySuperseded
v81 patch2 repliesSuperseded
v7 posting 2/21 patch1 replySuperseded
v7 posting 1/20 of 1 patch0 repliesSuperseded
v61 patch4 repliesSuperseded
v51 patch1 replySuperseded
v41 patch5 repliesSuperseded
v31 patch1 replySuperseded

Patches in v14 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1md: generate CHANGE uevents for md devicedrivers/md/md.c drivers/md/md.h drivers/md/raid10.c +1 more+94 -614 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchYu Kuai
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v14 thread

Cover letter [PATCH md-6.12 v14 0/1] md: generate CHANGE uevents for md device

Patch is caused by changes in mdadm - now mdmonitor is relying on udev events instead of pooling changes on /proc/mdstat file. This change gave possibility to send events to the userspace.
Now, more events will be read by mdmonitor, but mechanism of getting details of the event will remain the same - all devices have to be scanned on new event and their parameters read. It can be changed by adding environmental data, which will fully describe this uevent, as Kuai suggested. This change needs to be analyzed and planned, because it requires a lot of work in md and design changes in mdmonitor - to stop scanning all of the devices on new event and read uevent details directly from udev. Mariusz will take care of this topic, and follow up on this later.
Paul, the test suite which was used is internal and checks if mdmonitor has noticed expected events. For now there is no plan for adding test, which checking events to mdadm.

Kinga Stefaniuk (1):
md: generate CHANGE uevents for md device

 drivers/md/md.c     | 148 +++++++++++++++++++++++++++-----------------
 drivers/md/md.h     |   3 +-
 drivers/md/raid10.c |   2 +-
 drivers/md/raid5.c  |   2 +-
 4 files changed, 94 insertions(+), 61 deletions(-)
Signature · 1 line
2.43.0