Closed travis1829 closed 2 years ago
LFS::itable
Buf
LFS::imap
Tx
Checkpoint
Q. Change inode to store seg_no and seg_block_no instead of just block_no?
Q. Synchronization?
Segment
Q. TODO: delete bmap?
InodeGuard::{update, bmap_or_alloc, bmap, bmap_internal}
Q. When to actually write the checkpoint to the disk?
Q. Abstraction layer?
LFS::itable
Buf
(VirtioDisk does this automatically)LFS::imap
or somewhere else...Tx
: UpdateCheckpoint
only after all locks on theTx
is released.Q. Change inode to store seg_no and seg_block_no instead of just block_no?
Q. Synchronization?
Segment
. (seems we need interior mutability anyway)Segment
? (Only use inode map when have the Segment guard)Q. TODO: delete bmap?
InodeGuard::{update, bmap_or_alloc, bmap, bmap_internal}
from ufs and just tweaking them a little bit.Q. When to actually write the checkpoint to the disk?
Q. Abstraction layer?