Fixed issue #1360 about MMap auto flush of blocks