On 7/21/25 19:15, Yu Kuai wrote:
From: Yu Kuai <yuku...@huawei.com>

Currently bitmap_ops is registered while allocating mddev, this is fine
when there is only one bitmap_ops.

Delay setting bitmap_ops until creating bitmap, so that user can choose
which bitmap to use before running the array.

Signed-off-by: Yu Kuai <yuku...@huawei.com>
---
  Documentation/admin-guide/md.rst |  3 ++
  drivers/md/md.c                  | 81 ++++++++++++++++++++------------
  2 files changed, 55 insertions(+), 29 deletions(-)

Reviewed-by: Hannes Reinecke <h...@suse.de>

Cheers,

Hannes
--
Dr. Hannes Reinecke                  Kernel Storage Architect
h...@suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich

Reply via email to