From: Ben Pfaff Date: Fri, 15 Dec 2006 14:58:10 +0000 (+0000) Subject: Don't require distinguishing data and metadata for caching. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd07e00cb7d16cf60ed8801997663a8197c5e317;p=pintos-anon Don't require distinguishing data and metadata for caching. Another suggestion for implementation order. From Godmar. --- diff --git a/doc/filesys.texi b/doc/filesys.texi index f245daa..9ed836a 100644 --- a/doc/filesys.texi +++ b/doc/filesys.texi @@ -134,6 +134,9 @@ should pass the directory tests. Remaining miscellaneous items. @end enumerate +You can implement extensible files and subdirectories in parallel if +you temporarily make the number of entries in new directories fixed. + You should think about synchronization throughout. @node Project 4 Requirements @@ -316,7 +319,7 @@ older entry if necessary. You are limited to a cache no greater than 64 sectors in size. You must implement a cache replacement algorithm that is at least as -good as the ``clock'' algorithm. Your algorithm must also account for +good as the ``clock'' algorithm. We encourage you to account for the generally greater value of metadata compared to data. Experiment to see what combination of accessed, dirty, and other information results in the best performance, as measured by the number of disk