1. Oct 17, 2023
    • Jens Axboe's avatar
      Merge branch 'for-6.7/io_uring' into for-6.7/block · d451fdd0
      Jens Axboe authored
      Merge in io_uring fixes, as the ublk simplifying cancelations and
      aborts depend on the two patches from Ming adding cancelation support
      for uring_cmd.
      
      * for-6.7/io_uring:
        io_uring/kbuf: Use slab for struct io_buffer objects
        io_uring/kbuf: Allow the full buffer id space for provided buffers
        io_uring/kbuf: Fix check of BID wrapping in provided buffers
        io_uring/rsrc: cleanup io_pin_pages()
        io_uring: cancelable uring_cmd
        io_uring: retain top 8bits of uring_cmd flags for kernel internal use
        io_uring: add IORING_OP_WAITID support
        exit: add internal include file with helpers
        exit: add kernel_waitid_prepare() helper
        exit: move core of do_wait() into helper
        exit: abstract out should_wake helper for child_wait_callback()
        io_uring/rw: add support for IORING_OP_READ_MULTISHOT
        io_uring/rw: mark readv/writev as vectored in the opcode definition
        io_uring/rw: split io_read() into a helper
      d451fdd0
  2. Oct 13, 2023
    • Jens Axboe's avatar
      Merge tag 'md-next-20231012' of... · ae3059cf
      Jens Axboe authored
      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
        ...
      ae3059cf
  3. Oct 11, 2023
  4. Oct 10, 2023
  5. Oct 05, 2023
  6. Oct 04, 2023
  7. Oct 03, 2023
  8. Sep 29, 2023
    • Jens Axboe's avatar
      Merge tag 'md-next-20230927' of... · 03f7b57a
      Jens Axboe authored
      Merge tag 'md-next-20230927' of https://git.kernel.org/pub/scm/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()
      03f7b57a
    • Mariusz Tkaczyk's avatar
      md: do not require mddev_lock() for all options in array_state_store() · 09f894af
      Mariusz Tkaczyk authored
      
      
      We don't need to lock device to reject not supported request
      in array_state_store(). No functional changes intended.
      
      There are differences between ioctl and sysfs handling during stopping.
      With this change, it will be easier to add additional steps which needs
      to be completed before mddev_lock() is taken.
      
      Reviewed-by: default avatarYu Kuai <yukuai3@huawei.com>
      Signed-off-by: default avatarMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
      Signed-off-by: default avatarSong Liu <song@kernel.org>
      Link: https://lore.kernel.org/r/20230928125517.12356-1-mariusz.tkaczyk@linux.intel.com
      09f894af
  9. Sep 28, 2023
  10. Sep 26, 2023