This patch is added in corresponding to the dm-era patch de89afc1 in kernel: dm era: Recover committed writeset after crash