Re: [PATCH v2 00/11] md: align bio to io_opt and fix abnormal io_opt

Xiao Ni <[email protected]>
Newsgroups gmane.linux.raid
Message-ID <CALTww2-2W0uX-3OKPjd2tyRUf97fJaHfedWuxb_+Ff65xnSGxA@mail.gmail.com>
On Sat, Jan 3, 2026 at 11:46 PM Yu Kuai <[email protected]> wrote:
>
> changes in v3:
>  - fix mempool in patch 4;
> changes in v2:
>  - add prep cleanup patches, 1-3;
>  - and patch 11 to fix abormal io_opt;
>
> Yu Kuai (11):
>   md: merge mddev has_superblock into mddev_flags
>   md: merge mddev faillast_dev into mddev_flags
>   md: merge mddev serialize_policy into mddev_flags
>   md/raid5: use mempool to allocate stripe_request_ctx
>   md/raid5: make sure max_sectors is not less than io_opt
>   md: support to align bio to limits
>   md: add a helper md_config_align_limits()
>   md/raid5: align bio to io_opt
>   md/raid10: align bio to io_opt
>   md/raid0: align bio to io_opt
>   md: fix abnormal io_opt from member disks
>
>  drivers/md/md-bitmap.c |   4 +-
>  drivers/md/md.c        | 117 +++++++++++++++++++++++++++++++++++------
>  drivers/md/md.h        |  32 +++++++++--
>  drivers/md/raid0.c     |   6 ++-
>  drivers/md/raid1-10.c  |   5 --
>  drivers/md/raid1.c     |  13 ++---
>  drivers/md/raid10.c    |  10 ++--
>  drivers/md/raid5.c     |  93 ++++++++++++++++++++++----------
>  drivers/md/raid5.h     |   3 ++
>  9 files changed, 217 insertions(+), 66 deletions(-)
>
> --
> 2.51.0
>
>

Hi Kuai

This patch set looks good to me.

Reviewed-by: Xiao Ni <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.