When the height during write() is 0, for overwrite, using strong guarantees, replace pi->root with a new block so as to preserve write atomicity. Needs to be thoroughly tested before merging to master
I did some crash consistency testing on this and it does fix issue #5 in the test cases in which I originally found it. I'll be doing some more thorough crash testing with this fix in a bit.
When the height during write() is 0, for overwrite, using strong guarantees, replace pi->root with a new block so as to preserve write atomicity. Needs to be thoroughly tested before merging to master