bitcoin/bitcoin — pull request #5367 by sipa (2014-11-25 15:38:28+00:00)
Title: Do all block index writes in a batch

Follow-up to #5241 that increases flushing speed and improves atomicity of disk updates further.