utsaslab / WineFS

WineFS (SOSP 21): a huge-page aware file system for persistent memory
34 stars 2 forks source link

[WIP] Issue 5 fix #6

Open rohankadekodi opened 2 years ago

rohankadekodi commented 2 years ago

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

hayley-leblanc commented 2 years ago

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.