lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALTww2_VzpF79ZEvKvAKf7itpuveNM2caqtGzeO+7_YivMe0Gg@mail.gmail.com>
Date: Fri, 22 Nov 2024 10:17:09 +0800
From: Xiao Ni <xni@...hat.com>
To: Yu Kuai <yukuai1@...weicloud.com>
Cc: song@...nel.org, linux-raid@...r.kernel.org, linux-kernel@...r.kernel.org, 
	yukuai3@...wei.com, yi.zhang@...wei.com, yangerkun@...wei.com
Subject: Re: [PATCH md-6.13 3/5] md: add a new callback pers->bitmap_sector()

On Mon, Nov 18, 2024 at 7:44 PM Yu Kuai <yukuai1@...weicloud.com> wrote:
>
> From: Yu Kuai <yukuai3@...wei.com>
>
> This callback will be used in raid5 to convert io ranges from array to
> bitmap.
>
> Signed-off-by: Yu Kuai <yukuai3@...wei.com>
> ---
>  drivers/md/md.h | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/md/md.h b/drivers/md/md.h
> index 4ba93af36126..de6dadb9a40b 100644
> --- a/drivers/md/md.h
> +++ b/drivers/md/md.h
> @@ -746,6 +746,9 @@ struct md_personality
>         void *(*takeover) (struct mddev *mddev);
>         /* Changes the consistency policy of an active array. */
>         int (*change_consistency_policy)(struct mddev *mddev, const char *buf);
> +       /* convert io ranges from array to bitmap */
> +       void (*bitmap_sector)(struct mddev *mddev, sector_t *offset,
> +                             unsigned long *sectors);
>  };
>
>  struct md_sysfs_entry {
> --
> 2.39.2
>

Reviewed-by: Xiao Ni <xni@...hat.com>


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ