Jamming and irreversibility