Well... actually, a side effect of the FreeBSD buffer cache is to
cache BMAP translations.
What we do do, which kinda kills the cacheability aspects of balloc
in some cases, is VOP_REALLOC() -- that is, the FFS filesystem will
reallocate blocks to implement on-the-fly defragmentation. This
typically occurs on writes. It works *very* well. This is a feature
that actually used to be in FFS a few years ago but had to be turned off
due to bugs. The bugs were fixed about a year ago and realloc was turned
on by default in 4.x.
-Matt
Matthew Dillon
<dillon@backplane.com>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/