ref: d6bd63073480bf342aa572b39a176e24ff874a0e
parent: 89ffcf1d19a4e012168cf2c9b40293d7f7d60b7b
author: 9ferno <gophone2015@gmail.com>
date: Thu Oct 27 10:40:39 EDT 2022
added Design considerations to the document
--- a/TODO
+++ b/TODO
@@ -17,3 +17,4 @@
cat /adm/ctl
make docs/mafs.ms more interesting?
test -A announce
+Split out the Free Blocks - Extents section in the document.
--- a/all.h
+++ b/all.h
@@ -88,7 +88,7 @@
being stolen by other block numbers.
incref(dirties) only happens with a wlock() in putwrite().
*/
- Ref dirties; /* number of dirty blocks yet to be written by the writer */
+ Ref dirties; /* number of versions of this block yet to be written by the writer */
};
extern u64 nbuckets; /* n hash buckets for i/o */
--- a/docs/mafs.ms
+++ b/docs/mafs.ms
@@ -1328,6 +1328,15 @@
.sp
.sp
.ft B
+Design considerations
+.ft R
+.sp
+Why are you not using a checksum to verify the contents?
+.br
+Checksums are probabilistic and can be implemented as a bespoke application instead of complicating the filesystem.
+.sp
+.sp
+.ft B
Source
.ft R
.sp