]> git.itanic.dy.fi Git - linux-stable/commit
Merge tag 'md-next-20231012' of https://git.kernel.org/pub/scm/linux/kernel/git/song...
authorJens Axboe <axboe@kernel.dk>
Thu, 12 Oct 2023 17:35:58 +0000 (11:35 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Oct 2023 17:35:58 +0000 (11:35 -0600)
commitae3059cf95f3bf11695d48b77f00568e87329aae
tree419faa6c65394704bfcd21f8f9fa3dde5f507fe4
parenta31281acc4a4e051a0bf2f1d3556ba4deea4d2a0
parent9164e4a5af9c5587f8fdddeee30c615d21676e92
Merge tag 'md-next-20231012' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into for-6.7/block

Pull MD changes from Song:

"1. Rewrite mddev_suspend(), by Yu Kuai;
 2. Simplify md_seq_ops, by Yu Kuai;
 3. Reduce unnecessary locking array_state_store(), by Mariusz Tkaczyk."

* tag 'md-next-20231012' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md: (23 commits)
  md: rename __mddev_suspend/resume() back to mddev_suspend/resume()
  md: remove old apis to suspend the array
  md: suspend array in md_start_sync() if array need reconfiguration
  md/raid5: replace suspend with quiesce() callback
  md/md-linear: cleanup linear_add()
  md: cleanup mddev_create/destroy_serial_pool()
  md: use new apis to suspend array before mddev_create/destroy_serial_pool
  md: use new apis to suspend array for ioctls involed array reconfiguration
  md: use new apis to suspend array for adding/removing rdev from state_store()
  md: use new apis to suspend array for sysfs apis
  md/raid5: use new apis to suspend array
  md/raid5-cache: use new apis to suspend array
  md/md-bitmap: use new apis to suspend array for location_store()
  md/dm-raid: use new apis to suspend array
  md: add new helpers to suspend/resume and lock/unlock array
  md: add new helpers to suspend/resume array
  md: replace is_md_suspended() with 'mddev->suspended' in md_check_recovery()
  md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log'
  md: use READ_ONCE/WRITE_ONCE for 'suspend_lo' and 'suspend_hi'
  md/raid1: don't split discard io for write behind
  ...