The baryonic mass-velocity relation: clues to feedback processes during structure formation and the cosmic baryon inventory