hw12_softupdates

hw12_softupdates - can. Some blocks might not have any...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework: Reliable Files and Directories Read : Soft Updates Hand-In Procedure You are to turn in this homework at the beginning of lecture. Please write up your answers to the exercises below and hand them to a 6.828 staff member. Read over this homework and keep the questions in mind as you read the soft updates paper. Then come back and answer these questions. Reliable files and directories Consider what would need to be changed in xv6 to implement a write-back cache with proper ordering of writes. Identify all the calls to bwrite in xv6. (Hint: there are 7; use the cross-references.) For each call to bwrite, identify the other disk writes that must complete before that one
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: can. Some blocks might not have any dependencies, or might only have dependencies in certain cases. Turn in a list of bwrite calls and their dependencies, if any. Here are two calls, done for you: line 4132 (in balloc) no prerequisites line 4174 (in bfree) depends on corresponding bwrite at line 4167 Xv6 has no atomic rename; can there still be cycles in the block dependencies? This completes the homework. This assignment requires the files xv6.pdf and xv6_rev0.zip. You may download them from the Assignments page....
View Full Document

This note was uploaded on 05/29/2010 for the course 6 828 taught by Professor Guy during the Fall '08 term at MIT.

Ask a homework question - tutors are online