What does "barleycorn" mean?

Barleycorn: Formerly , a measure of length, equal to the average length of a grain of barley; the third part of an inch. John Barleycorn, a humorous personification of barley as the source of malt liquor or whisky.

Sources