Added reorder page in memory before marking dirty on disk. Had to change memcpy for some data, it wasn’t working. Still getting inconsistency between read and write for some reason.
Merge branch 'master' of https://github.com/daizhihui/tinyBase