The expectation that a rescue for Greece was just days away helped bring some calm to the financial markets.