[PATCH 00/27] dm: Change the way sequence numbers are implemented