[PATCH 3.16 065/245] dm thin metadata: Add support for a pre-commit callback