Re: [PATCH] md: bitmap: use mddev_suspend/resume instead of ->quiesce()

From: Gi-Oh Kim
Date: Tue Sep 18 2018 - 04:35:34 EST


On Thu, Sep 13, 2018 at 5:35 PM, Jack Wang <xjtuwjp@xxxxxxxxx> wrote:
> From: Jack Wang <jinpu.wang@xxxxxxxxxxxxxxxx>
>
> After 9e1cc0a54556 ("md: use mddev_suspend/resume instead of ->quiesce()")
> We still have similar left in bitmap functions.
>
> Replace quiesce() with mddev_suspend/resume.
>
> Also move md_bitmap_create out of mddev_suspend. and move mddev_resume
> after md_bitmap_destroy. as we did in set_bitmap_file.
>
> Signed-off-by: Jack Wang <jinpu.wang@xxxxxxxxxxxxxxxx>

Reviewed-by: Gioh Kim <gi-oh.kim@xxxxxxxxxxxxxxxx>





--
GIOH KIM
Linux Kernel Entwickler

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Tel: +49 176 2697 8962
Fax: +49 30 577 008 299
Email: gi-oh.kim@xxxxxxxxxxxxxxxx
URL: https://www.profitbricks.de

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
GeschÃftsfÃhrer: Achim Weiss, Matthias Steinberg, Christoph Steffens