The Orioles filled a hole in their infield by agreeing to a 1-year deal with free agent Freddy Galvis.