summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-07-14 22:23:16 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-07-14 22:23:16 +0200
commit2e85e328864c215c2efa228f129ce3fa6aa1db1f (patch)
tree0cff25891d80c72978e16c5784b07923b0b1017e /lib
parentf5688dd6c9bfb6cee00f2c5e5f190d7a2ffaa6c6 (diff)
downloadplan9front-2e85e328864c215c2efa228f129ce3fa6aa1db1f.tar.xz
9660srv: keep data and metadata separate in the cache with a tag
data on the disk is layed out sequentially and directory information is at the end of the disk. we want to keep data and metadata separated so that reading large sequential files will not evict the directory information from the cache causing long seeks. for that, we tag the clusters (an 8th for metadata, and the rest for data) and getbuf() will only evict clusters of the same tag.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions