[PATCH openEuler-1.0-LTS 059/149] md/bitmap: wait for external bitmap writes to complete during tear down