I discover that deleting a file in the current system has a high overhead. When a file is deleted, to maintain the compactness of simplefs_dir_block, subsequent files are shifted forward to fill the gap, causing a large amount of I/O. Therefore, I think we should redesign this process using a marking approach.
I discover that deleting a file in the current system has a high overhead. When a file is deleted, to maintain the compactness of simplefs_dir_block, subsequent files are shifted forward to fill the gap, causing a large amount of I/O. Therefore, I think we should redesign this process using a marking approach.