prepared switch to mmaped journal