Irreversible Thermodynamics of Black Holes