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

Yu Kuai posted 5 patches 3 weeks ago
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       |  34 ++-----
drivers/md/raid1.h       |   1 -
drivers/md/raid10.c      |  26 +----
drivers/md/raid10.h      |   1 -
drivers/md/raid5-cache.c |   4 -
drivers/md/raid5.c       | 205 ++++++++++++++++++++-------------------
drivers/md/raid5.h       |   4 -
11 files changed, 196 insertions(+), 194 deletions(-)
[PATCH v2 md-6.14 0/5] md/md-bitmap: move bitmap_{start, end}write to md upper layer
Posted by Yu Kuai 3 weeks ago
From: Yu Kuai <yukuai3@huawei.com>

Changes in v2:
 - add commit message in patch 2;
 - also remove unsed flags in patch 2;
 - handle rehspae in patch 4;

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       |  34 ++-----
 drivers/md/raid1.h       |   1 -
 drivers/md/raid10.c      |  26 +----
 drivers/md/raid10.h      |   1 -
 drivers/md/raid5-cache.c |   4 -
 drivers/md/raid5.c       | 205 ++++++++++++++++++++-------------------
 drivers/md/raid5.h       |   4 -
 11 files changed, 196 insertions(+), 194 deletions(-)

-- 
2.39.2
Re: [PATCH v2 md-6.14 0/5] md/md-bitmap: move bitmap_{start, end}write to md upper layer
Posted by Song Liu 2 weeks, 6 days ago
On Wed, Jan 8, 2025 at 5:56 PM Yu Kuai <yukuai1@huaweicloud.com> wrote:
>
> From: Yu Kuai <yukuai3@huawei.com>
>
> Changes in v2:
>  - add commit message in patch 2;
>  - also remove unsed flags in patch 2;
>  - handle rehspae in patch 4;
>
> 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

With some minor changes, applied this set to md-6.14.

Thanks,
Song