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

Yu Kuai posted 6 patches 1 year ago
There is a newer version of this series
drivers/md/md-bitmap.c   |  75 ++++++++++-------
drivers/md/md-bitmap.h   |   6 +-
drivers/md/md.c          |  26 ++++++
drivers/md/md.h          |   5 ++
drivers/md/raid1.c       |  35 ++------
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       | 174 ++++++++++++++++++++++-----------------
drivers/md/raid5.h       |   4 -
11 files changed, 185 insertions(+), 172 deletions(-)
[PATCH 6.6 0/6] md/md-bitmap: move bitmap_{start, end}write to md upper layer
Posted by Yu Kuai 1 year ago
From: Yu Kuai <yukuai3@huawei.com>

This set fix reported problem:

https://lore.kernel.org/all/CAJpMwyjmHQLvm6zg1cmQErttNNQPDAAXPKM3xgTjMhbfts986Q@mail.gmail.com/
https://lore.kernel.org/all/ADF7D720-5764-4AF3-B68E-1845988737AA@flyingcircus.io/

See details in patch 6.

Benjamin Marzinski (1):
  md/raid5: recheck if reshape has finished with device_lock held

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   |  75 ++++++++++-------
 drivers/md/md-bitmap.h   |   6 +-
 drivers/md/md.c          |  26 ++++++
 drivers/md/md.h          |   5 ++
 drivers/md/raid1.c       |  35 ++------
 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       | 174 ++++++++++++++++++++++-----------------
 drivers/md/raid5.h       |   4 -
 11 files changed, 185 insertions(+), 172 deletions(-)

-- 
2.39.2
Re: [PATCH 6.6 0/6] md/md-bitmap: move bitmap_{start, end}write to md upper layer
Posted by Greg KH 1 year ago
On Mon, Jan 27, 2025 at 04:53:45PM +0800, Yu Kuai wrote:
> From: Yu Kuai <yukuai3@huawei.com>
> 
> This set fix reported problem:
> 
> https://lore.kernel.org/all/CAJpMwyjmHQLvm6zg1cmQErttNNQPDAAXPKM3xgTjMhbfts986Q@mail.gmail.com/
> https://lore.kernel.org/all/ADF7D720-5764-4AF3-B68E-1845988737AA@flyingcircus.io/
> 
> See details in patch 6.

Please redo this series and describe in it what you changed from the
original commits, as these are not just normal cherry-picks at all.

thanks,

greg k-h
Re: [PATCH 6.6 0/6] md/md-bitmap: move bitmap_{start, end}write to md upper layer
Posted by Yu Kuai 1 year ago
Hi,

在 2025/02/04 19:40, Greg KH 写道:
> On Mon, Jan 27, 2025 at 04:53:45PM +0800, Yu Kuai wrote:
>> From: Yu Kuai <yukuai3@huawei.com>
>>
>> This set fix reported problem:
>>
>> https://lore.kernel.org/all/CAJpMwyjmHQLvm6zg1cmQErttNNQPDAAXPKM3xgTjMhbfts986Q@mail.gmail.com/
>> https://lore.kernel.org/all/ADF7D720-5764-4AF3-B68E-1845988737AA@flyingcircus.io/
>>
>> See details in patch 6.
> 
> Please redo this series and describe in it what you changed from the
> original commits, as these are not just normal cherry-picks at all.

Got it, the difference is that bitmap_ops doesn't exist in 6.6.

Thanks,
Kuai

> 
> thanks,
> 
> greg k-h
> .
>