Homework: Reading questions

Submit two items to the submission website (see link in the navigation bar at the top of the page):

Answer the following question:

The model of the disk in FSCQ is more complicated than the one used in the lab. FSCQ models a disk that is asynchronous: disk_write() returns as soon as the disk controller has accepted the block but the disk controler may have not written it to the disk yet. What aspect of the disk_write specification captures this asynchronous behavior?

If the file system writes two blocks (e.g., B1 and then B2) to the disk using disk_write(), and then a crash happens, what blocks does the disk store? For example, if B2 is on the disk, is B1 on the disk too?

Questions or comments regarding 6.826? Contact us on Piazza or send e-mail to the 6.826 staff at 6826-staff@lists.csail.mit.edu.

Creative Commons License