Reversible Work and Irreversibility