Dow posts its biggest gain this year, rising 322 points, on optimism about a possible debt deal.