From: Ben Pfaff Date: Thu, 18 May 2006 15:54:25 +0000 (+0000) Subject: Update docs to say that a pointer to an inode should not limit you to X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=commitdiff_plain;h=ad2daa981e6b23b6560ed03b793e18201dfa8640 Update docs to say that a pointer to an inode should not limit you to 64 open files. --- diff --git a/doc/filesys.texi b/doc/filesys.texi index 1f10143..f2c7da9 100644 --- a/doc/filesys.texi +++ b/doc/filesys.texi @@ -424,8 +424,10 @@ corresponding sector from disk when it's created. Keeping extra copies of inodes would subvert the 64-block limitation that we place on your cache. -You can store a pointer to inode data in @struct{inode}, if you want, -and you can store other information to help you find the inode when you +You can store a pointer to inode data in @struct{inode}, but it you do +so you should carefully make sure that this does not limit your OS to 64 +simultaneously open files. +You can also store other information to help you find the inode when you need it. Similarly, you may store some metadata along each of your 64 cache entries.