block/mirror: conservative mirror_exit refactor