Merge tag 'md-next-20230927' of https://git.kernel.org/pub/scm/linux/kernel/git/song...
authorJens Axboe <axboe@kernel.dk>
Fri, 29 Sep 2023 05:58:34 +0000 (23:58 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 Sep 2023 05:58:34 +0000 (23:58 -0600)
commit03f7b57a5942055ace7ff42c599803461dd20852
treec12c4784897f1fa8176b828379f5695d6f716977
parentaa511ff8218b3fb328181fbaac48aa5e9c5c6d93
parentceb0416383988dbd5decd6a70141a3507732c160
Merge tag 'md-next-20230927' of https://git./linux/kernel/git/song/md into for-6.7/block

Pull MD updates from Song:

"1. Make rdev add/remove independent from daemon thread, by Yu Kuai;
 2. Refactor code around quiesce() and mddev_suspend(), by Yu Kuai."

* tag 'md-next-20230927' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md:
  md: replace deprecated strncpy with memcpy
  md/md-linear: Annotate struct linear_conf with __counted_by
  md: don't check 'mddev->pers' and 'pers->quiesce' from suspend_lo_store()
  md: don't check 'mddev->pers' from suspend_hi_store()
  md-bitmap: suspend array earlier in location_store()
  md-bitmap: remove the checking of 'pers->quiesce' from location_store()
  md: don't rely on 'mddev->pers' to be set in mddev_suspend()
  md: initialize 'writes_pending' while allocating mddev
  md: initialize 'active_io' while allocating mddev
  md: delay remove_and_add_spares() for read only array to md_start_sync()
  md: factor out a helper rdev_addable() from remove_and_add_spares()
  md: factor out a helper rdev_is_spare() from remove_and_add_spares()
  md: factor out a helper rdev_removeable() from remove_and_add_spares()
  md: delay choosing sync action to md_start_sync()
  md: factor out a helper to choose sync action from md_check_recovery()
  md: use separate work_struct for md_start_sync()