Rock dissolution patterns and geochemical shutdown of CO2