[PATCH] dm: fix mempool NULL pointer race when completing IO