dm: improve block integrity support