X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Ffilesys.texi;h=e724d96ed7d2223fdfbd8e924bd6d2986e19b7e7;hb=269b497e5a50effc8230ac3e91cf6d8b862659a0;hp=e0c1618b49e46b74786b28d1476aa0521019a5a6;hpb=28dad4d002044ef3902e6ced88caa4de8079336b;p=pintos-anon diff --git a/doc/filesys.texi b/doc/filesys.texi index e0c1618..e724d96 100644 --- a/doc/filesys.texi +++ b/doc/filesys.texi @@ -11,8 +11,8 @@ You may build project 4 on top of project 2 or project 3. In either case, all of the functionality needed for project 2 must work in your filesys submission. If you build on project 3, then all of the project 3 functionality must work also, and you will need to edit -@file{filesys/Make.vars} to enable VM functionality. A small amount of -extra credit is available if you do build on project 3. +@file{filesys/Make.vars} to enable VM functionality. You can receive up +to 5% extra credit if you do enable VM. @menu * Project 4 Background:: @@ -125,7 +125,7 @@ every time a write is made off the end of the file. Your file system must allow this. There should be no predetermined limit on the size of a file, except -that a disk cannot exceed the size of the disk (minus metadata). This +that a file cannot exceed the size of the disk (minus metadata). This also applies to the root directory file, which should now be allowed to expand beyond its initial limit of 16 files. @@ -261,6 +261,11 @@ return to the process immediately. The read-ahead request for disk block 2 should be handled asynchronously, in the background. @end table +@strong{We recommend integrating the cache into your design early.} In +the past, many groups have tried to tack the cache onto a design late in +the design process. This is very difficult. These groups have often +turned in projects that failed most or all of the tests. + @node File System Synchronization @subsection Synchronization @@ -307,10 +312,16 @@ Here's a summary of our reference solution, produced by the @command{diffstat} program. The final row gives total lines inserted and deleted; a changed line counts as both an insertion and a deletion. -This summary is relative to the Pintos base code, but we started from -the reference solution to project 3. Thus, the reference solution runs -with virtual memory enabled. @xref{Project 3 FAQ}, for the summary -of project 3. +This summary is relative to the Pintos base code, but the reference +solution for project 4 is based on the reference solution to project 3. +Thus, the reference solution runs with virtual memory enabled. +@xref{Project 3 FAQ}, for the summary of project 3. + +The reference solution represents just one possible solution. Many +other solutions are also possible and many of those differ greatly from +the reference solution. Some excellent solutions may not modify all the +files modified by the reference solution, and some may modify files not +modified by the reference solution. @verbatim Makefile.build | 5