If you've got uncontrollable smoke, it's "do or die".
and if the smoke is backed up by a fire in cabin or cargo hold you have 2.5 mins to put it out, if not, you will not be able to. If you are not able to then you have 17 mins to get down, landed and evacuated. If you fail to do this in 17 mins - the fire will destroy the aircraft.