data structure to allow loading from memory
add tmpfs_snap_rdwr(), a function to do i/o based on the loading context