Mazzarri, who has had spells as coach of Sampdoria, Napoli, Inter Milan and Premier League side Watford, took charge of Torino in January 2018.
Longo, 43, began his playing career at Torino, his hometown club, and returned in a coaching capacity in 2009.
He took charge of Pro Vercelli in Serie B in 2016 and then guided Frosinone to promotion to the top tier in the 2017-18 season.
