The Seattle Mariners have agreed to a two-year contract with Marco Gonzales.

The deal guarantees Gonzales $1.9 million even though the left-hander is still two full years from reaching arbitration.

Gonzales has filed a grievance related to service time with the St. Louis Cardinals, which could alter his free agency going forward.