Lock around disk flush was removed.
Merge pull request #1786 from fabriziofortino/develop

console: fixed NPE on export record command when options are not specifed
Write cache synchronisation issue was fixed.
Merge remote-tracking branch 'origin/develop' into develop
Write cache synchronisation issue was fixed.