-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reimplement the read and the write operations
This commit implements the 'simplefs_write' and 'simplefs_read' functions for the simplefs filesystem. These functions handle data writing and reading operations directly from the disk, bypassing the page cache. To achieve this, we used the 'sb_bread' and 'brelse' functions provided by the Linux kernel to read data directly from the disk. For writing data, we used the 'mark_buffer_dirty' and 'sync_dirty_buffer' functions to ensure that data is correctly written to the disk. Close #57
- Loading branch information
1 parent
92f3287
commit dde08bf
Showing
2 changed files
with
170 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters