[GIT PULL] md-next 20230729

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jens, 

Please consider pulling the following changes for md-next on top of your
for-6.6/block branch. The major changes are:

1. Deprecate bitmap file support, by Christoph Hellwig;
2. Fix deadlock with md sync thread, by Yu Kuai;
3. Refactor md io accounting, by Yu Kuai;
4. Various non-urgent fixes by Li Nan, Yu Kuai, and Jack Wang. 

Thanks,
Song



The following changes since commit 51d74ec9b62f5813767a60226acaf943e26e7d7a:

  block: cleanup bio_integrity_prep (2023-07-25 20:30:54 -0600)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/song/md.git tags/md-next-20230729

for you to fetch changes up to 44abfa6a95df425c0660d56043020b67e6d93ab8:

  md/md-bitmap: hold 'reconfig_mutex' in backlog_store() (2023-07-27 00:13:30 -0700)

----------------------------------------------------------------
Christoph Hellwig (11):
      md-bitmap: set BITMAP_WRITE_ERROR in write_sb_page
      md-bitmap: initialize variables at declaration time in md_bitmap_file_unmap
      md-bitmap: use %pD to print the file name in md_bitmap_file_kick
      md-bitmap: split file writes into a separate helper
      md-bitmap: rename read_page to read_file_page
      md-bitmap: refactor md_bitmap_init_from_disk
      md-bitmap: cleanup read_sb_page
      md-bitmap: account for mddev->bitmap_info.offset in read_sb_page
      md-bitmap: don't use ->index for pages backing the bitmap file
      md: make bitmap file support optional
      md: deprecate bitmap file support

Jack Wang (1):
      md/raid1: Avoid lock contention from wake_up()

Li Nan (6):
      md/raid1: prioritize adding disk to 'removed' mirror
      md/raid10: optimize fix_read_error
      md: remove redundant check in fix_read_error()
      md/raid10: check replacement and rdev to prevent submit the same io twice
      md/raid10: factor out dereference_rdev_and_rrdev()
      md/raid10: use dereference_rdev_and_rrdev() to get devices

Yu Kuai (18):
      Revert "md: unlock mddev before reap sync_thread in action_store"
      md: refactor action_store() for 'idle' and 'frozen'
      md: add a mutex to synchronize idle and frozen in action_store()
      md: refactor idle/frozen_sync_thread() to fix deadlock
      md: wake up 'resync_wait' at last in md_reap_sync_thread()
      md: enhance checking in md_check_recovery()
      md: move initialization and destruction of 'io_acct_set' to md.c
      md: also clone new io if io accounting is disabled
      raid5: fix missing io accounting in raid5_align_endio()
      md/raid1: switch to use md_account_bio() for io accounting
      md/raid10: switch to use md_account_bio() for io accounting
      md/md-multipath: enable io accounting
      md/md-linear: enable io accounting
      md/md-faulty: enable io accounting
      md: don't quiesce in mddev_suspend()
      md: restore 'noio_flag' for the last mddev_resume()
      md/md-bitmap: remove unnecessary local variable in backlog_store()
      md/md-bitmap: hold 'reconfig_mutex' in backlog_store()

 drivers/md/Kconfig        |  10 ++++++
 drivers/md/dm-raid.c      |   1 -
 drivers/md/md-bitmap.c    | 347 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------------------------------------------------
 drivers/md/md-bitmap.h    |   1 +
 drivers/md/md-faulty.c    |   2 ++
 drivers/md/md-linear.c    |   1 +
 drivers/md/md-multipath.c |   1 +
 drivers/md/md.c           | 221 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------------------------
 drivers/md/md.h           |  11 +++---
 drivers/md/raid0.c        |  16 ++-------
 drivers/md/raid1.c        |  60 +++++++++++++++++--------------
 drivers/md/raid1.h        |   1 -
 drivers/md/raid10.c       |  82 +++++++++++++++++++++++--------------------
 drivers/md/raid10.h       |   1 -
 drivers/md/raid5.c        |  70 ++++++++++---------------------------
 15 files changed, 431 insertions(+), 394 deletions(-)




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux