[PATCH -next 0/8] md: bugfix and cleanup for sync_thread

Yu Kuai posted 8 patches 2 years, 1 month ago
There is a newer version of this series
drivers/md/dm-raid.c |   3 +
drivers/md/md.c      | 195 +++++++++++++++++++++++++------------------
2 files changed, 116 insertions(+), 82 deletions(-)
[PATCH -next 0/8] md: bugfix and cleanup for sync_thread
Posted by Yu Kuai 2 years, 1 month ago
Yu Kuai (8):
  md: fix missing flush of sync_work
  md: use interruptible apis in idle/frozen_sync_thread()
  md: return error to user if idle/frozen_sync_thread() is interrupted
  md: remove redundant md_wakeup_thread()
  md: don't leave 'MD_RECOVERY_FROZEN' in error path of
    md_set_readonly()
  md: factor out a helper to stop sync_thread
  md: use new helper to stop sync_thread in __md_stop_writes()
  dm-raid: fix a deadlock in md_stop()

 drivers/md/dm-raid.c |   3 +
 drivers/md/md.c      | 195 +++++++++++++++++++++++++------------------
 2 files changed, 116 insertions(+), 82 deletions(-)

-- 
2.39.2