Linux RAID subsystem development
 help / color / mirror / Atom feed
* [GIT PULL] md-6.16-20250512
@ 2025-05-13  1:38 Yu Kuai
  2025-05-13  2:01 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Yu Kuai @ 2025-05-13  1:38 UTC (permalink / raw)
  To: axboe, linux-raid, song; +Cc: yukuai3, yangerkun, yi.zhang, johnny.chenyi

Hi Jens,

Please consider pulling following changes for md-6.6 on your for-6.16/block
branch, this pull request contains:

- fix normal IO can be starved by sync IO, found by mkfs on newly created
large raid5, with some clean up patches for bdev inflight counters;
- add kconfig for md-bitmap, I have decided not to continue optimizing
based on the old bitmap implementation, and plan to invent a new lock-less
bitmap. And a new kconfig option is a good way for isolation;

Thanks
Kuai

The following changes since commit 824afb9b04648ea11531fc9047923ec07e7a943d:

  block: move removing elevator after deleting disk->queue_kobj (2025-05-08 09:03:44 -0600)

are available in the Git repository at:

  https://kernel.googlesource.com/pub/scm/linux/kernel/git/mdraid/linux.git tags/md-6.16-20250512

for you to fetch changes up to 1b7bf4c5c5eb07ae05a3ca9126a1ae27c1905361:

  md/md-bitmap: introduce CONFIG_MD_BITMAP (2025-05-10 17:23:51 +0800)

----------------------------------------------------------------
Yu Kuai (20):
      blk-mq: remove blk_mq_in_flight()
      block: reuse part_in_flight_rw for part_in_flight
      block: WARN if bdev inflight counter is negative
      block: clean up blk_mq_in_flight_rw()
      block: export API to get the number of bdev inflight IO
      md: record dm-raid gendisk in mddev
      md: add a new api sync_io_depth
      md: fix is_mddev_idle()
      md: clean up accounting for issued sync IO
      md/md-bitmap: remove the parameter 'init' for bitmap_ops->resize()
      md/md-bitmap: merge md_bitmap_group into bitmap_operations
      md/md-bitmap: add md_bitmap_registered/enabled() helper
      md/md-bitmap: handle the case bitmap is not enabled before start_sync()
      md/md-bitmap: handle the case bitmap is not enabled before end_sync()
      md/raid1: check bitmap before behind write
      md/raid1: check before referencing mddev->bitmap_ops
      md/raid10: check before referencing mddev->bitmap_ops
      md/raid5: check before referencing mddev->bitmap_ops
      md: check before referencing mddev->bitmap_ops
      md/md-bitmap: introduce CONFIG_MD_BITMAP

 block/blk-core.c          |   2 +-
 block/blk-mq.c            |  22 +---
 block/blk-mq.h            |   5 +-
 block/blk.h               |   1 -
 block/genhd.c             |  69 ++++++-----
 drivers/md/Kconfig        |  18 +++
 drivers/md/Makefile       |   3 +-
 drivers/md/dm-raid.c      |   5 +-
 drivers/md/md-bitmap.c    |  67 +++++-----
 drivers/md/md-bitmap.h    |  62 +++++++++-
 drivers/md/md-cluster.c   |   2 +-
 drivers/md/md.c           | 302 ++++++++++++++++++++++++++++++++--------------
 drivers/md/md.h           |  22 +---
 drivers/md/raid1-10.c     |   2 +-
 drivers/md/raid1.c        |  82 +++++++------
 drivers/md/raid10.c       |  57 ++++-----
 drivers/md/raid5.c        |  38 +++---
 include/linux/blkdev.h    |   1 -
 include/linux/part_stat.h |   2 +
 19 files changed, 472 insertions(+), 290 deletions(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] md-6.16-20250512
  2025-05-13  1:38 [GIT PULL] md-6.16-20250512 Yu Kuai
@ 2025-05-13  2:01 ` Jens Axboe
  2025-05-13  2:13   ` Yu Kuai
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2025-05-13  2:01 UTC (permalink / raw)
  To: Yu Kuai, linux-raid, song; +Cc: yukuai3, yangerkun, yi.zhang, johnny.chenyi

On 5/12/25 7:38 PM, Yu Kuai wrote:
> Hi Jens,
> 
> Please consider pulling following changes for md-6.6 on your for-6.16/block
> branch, this pull request contains:
> 
> - fix normal IO can be starved by sync IO, found by mkfs on newly created
> large raid5, with some clean up patches for bdev inflight counters;
> - add kconfig for md-bitmap, I have decided not to continue optimizing
> based on the old bitmap implementation, and plan to invent a new lock-less
> bitmap. And a new kconfig option is a good way for isolation;

Pulled, and then unpulled. This doesn't even build...

ERROR: modpost: "md_bitmap_exit" [drivers/md/md-mod.ko] undefined!
ERROR: modpost: "md_bitmap_init" [drivers/md/md-mod.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1
make[1]: *** [/home/axboe/git/build/Makefile:1954: modpost] Error 2
make: *** [Makefile:248: __sub-make] Error 2

Before you send out pull requests, at least ensure that it builds
both built-in and modular.

-- 
Jens Axboe

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] md-6.16-20250512
  2025-05-13  2:01 ` Jens Axboe
@ 2025-05-13  2:13   ` Yu Kuai
  0 siblings, 0 replies; 3+ messages in thread
From: Yu Kuai @ 2025-05-13  2:13 UTC (permalink / raw)
  To: Jens Axboe, Yu Kuai, linux-raid, song
  Cc: yangerkun, yi.zhang, johnny.chenyi, yukuai (C)

Hi,

在 2025/05/13 10:01, Jens Axboe 写道:
> On 5/12/25 7:38 PM, Yu Kuai wrote:
>> Hi Jens,
>>
>> Please consider pulling following changes for md-6.6 on your for-6.16/block
>> branch, this pull request contains:
>>
>> - fix normal IO can be starved by sync IO, found by mkfs on newly created
>> large raid5, with some clean up patches for bdev inflight counters;
>> - add kconfig for md-bitmap, I have decided not to continue optimizing
>> based on the old bitmap implementation, and plan to invent a new lock-less
>> bitmap. And a new kconfig option is a good way for isolation;
> 
> Pulled, and then unpulled. This doesn't even build...
> 
> ERROR: modpost: "md_bitmap_exit" [drivers/md/md-mod.ko] undefined!
> ERROR: modpost: "md_bitmap_init" [drivers/md/md-mod.ko] undefined!
> make[2]: *** [scripts/Makefile.modpost:147: Module.symvers] Error 1
> make[1]: *** [/home/axboe/git/build/Makefile:1954: modpost] Error 2
> make: *** [Makefile:248: __sub-make] Error 2
> 
> Before you send out pull requests, at least ensure that it builds
> both built-in and modular.

My apologize for this, the v3 patchset have this problem and Paul
reported to me, fix it in v4 however, It's a long time and somehow
I picked the v3 set here. :(

Thanks,
Kuai

> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-13  2:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-13  1:38 [GIT PULL] md-6.16-20250512 Yu Kuai
2025-05-13  2:01 ` Jens Axboe
2025-05-13  2:13   ` Yu Kuai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox