[PATCH 0/2] md: small cleanups in MD driver

Abd-Alrhman Masalkhi posted 2 patches 2 months ago
drivers/md/md.c | 10 +---------
drivers/md/md.h |  2 +-
2 files changed, 2 insertions(+), 10 deletions(-)
[PATCH 0/2] md: small cleanups in MD driver
Posted by Abd-Alrhman Masalkhi 2 months ago
Hi,

This small series contains two cleanups in the MD driver.

Patch 1: replaces a wait loop in md_handle_request() with wait_event()
Patch 2: replaces a mutex_lock() with mddev_lock_nointr()

Thanks,
Abd-Alrhman

Abd-Alrhman Masalkhi (2):
  md: replace wait loop with wait_event() in md_handle_request()
  md: use mddev_lock_nointr() in mddev_suspend_and_lock_nointr()

 drivers/md/md.c | 10 +---------
 drivers/md/md.h |  2 +-
 2 files changed, 2 insertions(+), 10 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] md: small cleanups in MD driver
Posted by Yu Kuai 1 month, 3 weeks ago
在 2026/4/15 22:03, Abd-Alrhman Masalkhi 写道:

> Hi,
>
> This small series contains two cleanups in the MD driver.
>
> Patch 1: replaces a wait loop in md_handle_request() with wait_event()
> Patch 2: replaces a mutex_lock() with mddev_lock_nointr()
>
> Thanks,
> Abd-Alrhman
>
> Abd-Alrhman Masalkhi (2):
>    md: replace wait loop with wait_event() in md_handle_request()
>    md: use mddev_lock_nointr() in mddev_suspend_and_lock_nointr()
>
>   drivers/md/md.c | 10 +---------
>   drivers/md/md.h |  2 +-
>   2 files changed, 2 insertions(+), 10 deletions(-)
Applied

-- 
Thansk,
Kuai