Thud!

novel by Terry Pratchett

Thud! is a Discworld novel about racism and prejudice. In it Commander Samuel Vimes tried to stop a war between dwarves and trolls.