[PATCH 0/3] md/raid1: small cleanups in MD and raid1 drivers

Abd-Alrhman Masalkhi posted 3 patches 1 month, 3 weeks ago
drivers/md/md.c    | 16 ++++------------
drivers/md/raid1.c | 15 ++++-----------
2 files changed, 8 insertions(+), 23 deletions(-)
[PATCH 0/3] md/raid1: small cleanups in MD and raid1 drivers
Posted by Abd-Alrhman Masalkhi 1 month, 3 weeks ago
Hi,

This small series contains three cleanups in the MD and raid1 drivers.

Thanks,
Abd-Alrhman

Abd-Alrhman Masalkhi (3):
  md/raid1: replace wait loop with wait_event_idle() in
    raid1_write_request()
  md: use mddev_is_dm() instead of open-coding gendisk checks
  md: use ATTRIBUTE_GROUPS() for md default sysfs attributes

 drivers/md/md.c    | 16 ++++------------
 drivers/md/raid1.c | 15 ++++-----------
 2 files changed, 8 insertions(+), 23 deletions(-)

-- 
2.43.0
Re: [PATCH 0/3] md/raid1: small cleanups in MD and raid1 drivers
Posted by Yu Kuai 1 month, 2 weeks ago
在 2026/4/23 18:13, Abd-Alrhman Masalkhi 写道:

> Hi,
>
> This small series contains three cleanups in the MD and raid1 drivers.
>
> Thanks,
> Abd-Alrhman
>
> Abd-Alrhman Masalkhi (3):
>    md/raid1: replace wait loop with wait_event_idle() in
>      raid1_write_request()
>    md: use mddev_is_dm() instead of open-coding gendisk checks
>    md: use ATTRIBUTE_GROUPS() for md default sysfs attributes
>
>   drivers/md/md.c    | 16 ++++------------
>   drivers/md/raid1.c | 15 ++++-----------
>   2 files changed, 8 insertions(+), 23 deletions(-)
Applied to md-7.1
>
-- 
Thansk,
Kuai