mbox series

[v2,md-6.14,0/5] md/md-bitmap: move bitmap_{start, end}write to md upper layer

Message ID 20241218121745.2459-1-yukuai@kernel.org (mailing list archive)
Headers show
Series md/md-bitmap: move bitmap_{start, end}write to md upper layer | expand

Message

yukuai@kernel.org Dec. 18, 2024, 12:17 p.m. UTC
From: Yu Kuai <yukuai@kernel.org>

Changes in v2:
 - add review tag for patch 1 and 3;
 - update commit message for patch 5;

Yu Kuai (5):
  md/md-bitmap: factor behind write counters out from
    bitmap_{start/end}write()
  md/md-bitmap: remove the last parameter for bimtap_ops->endwrite()
  md: add a new callback pers->bitmap_sector()
  md/raid5: implement pers->bitmap_sector()
  md/md-bitmap: move bitmap_{start, end}write to md upper layer

 drivers/md/md-bitmap.c   | 74 ++++++++++++++++++++++++----------------
 drivers/md/md-bitmap.h   |  7 ++--
 drivers/md/md.c          | 29 ++++++++++++++++
 drivers/md/md.h          |  5 +++
 drivers/md/raid1.c       | 11 +++---
 drivers/md/raid10.c      |  6 ----
 drivers/md/raid5-cache.c |  4 ---
 drivers/md/raid5.c       | 48 ++++++++++++--------------
 8 files changed, 109 insertions(+), 75 deletions(-)