code: mafs

Download patch

ref: c6de8987b03f34189e5c63489c699b6b134c5806
parent: 7820775ec1c2fa75e61ac614763c404730990c49
author: 9ferno <gophone2015@gmail.com>
date: Wed Oct 12 19:43:38 EDT 2022

correct reconcile command

--- a/docs/.gitignore
+++ b/docs/.gitignore
@@ -1,2 +1,1 @@
 *.ps
-*.pdf
--- a/docs/mafs.ms
+++ b/docs/mafs.ms
@@ -682,7 +682,7 @@
 arrow dashed from Iobufn2.ne - 0.05i,0 to Iobuf2.se - 0.05i,0
 .PE
 .sp
-The size of the buffer cache is approximately number of hash buckets * collisions per hash bucket * Maximum Span size. By default, the approximate size of the buffer cache = Nbuckets * Ncollisions * Maxspansize = 256 * 10 * 1MB = 2.56GB, by default. The -h parameter can be used to change the number of hash buckets.
+The size of the buffer cache is approximately: number of hash buckets * collisions per hash bucket * Maximum Span size. By default, the approximate size of the buffer cache = Nbuckets * Ncollisions * Maxspansize = 256 * 10 * 1MB = 2.56GB. The -h parameter can be used to change the number of hash buckets.
 .\" .sp
 .\" What is the need for Iobuf.Ref?
 .\" I have two threads that are writing to the same file. The file's directory entry is in block 18.
@@ -1111,8 +1111,7 @@
 .sp
 .nf
 	disk/reconcile -u <{disk/used  tests/test.0/disk} \\
-		-F <{disk/free  tests/test.0/disk} \\
-		-h `{disk/block  tests/test.0/disk 2 | grep hwmark | awk '{print $2}'} 32
+		-F <{disk/free  tests/test.0/disk} 32
 .fi
 .sp
 Find traverses the heirarchy and identifies the file that the block number belongs to.
binary files a/docs/mafs.pdf b/docs/mafs.pdf differ