What is the meaning of Glutton_for_punishment?

One who persists in an effort in spite of harmful or unpleasant results.

Source: wiktionary.org