dm persistent metadata: add space map threshold callback