WAL MT speed up.
Merge remote-tracking branch 'origin/1.7.7' into 1.7.7