summaryrefslogtreecommitdiffstats
path: root/sys/fs/hpfs
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2012-11-28 00:36:40 +0000
committerpfg <pfg@FreeBSD.org>2012-11-28 00:36:40 +0000
commit0077f34174770588e5d317fb335867216484d7f4 (patch)
treef86c017e8bde86a8b15257d3ed42018d55be9e9d /sys/fs/hpfs
parentb0ff37a790867ff009501f9f68cbf381084f619e (diff)
downloadFreeBSD-src-0077f34174770588e5d317fb335867216484d7f4.zip
FreeBSD-src-0077f34174770588e5d317fb335867216484d7f4.tar.gz
Partially bring r242520 to ext2fs.
When a file is first being written, the dynamic block reallocation (implemented by ext2_reallocblks) relocates the file's blocks so as to cluster them together into a contiguous set of blocks on the disk. When the cluster crosses the boundary into the first indirect block, the first indirect block is initially allocated in a position immediately following the last direct block. Block reallocation would usually destroy locality by moving the indirect block out of the way to keep the data blocks contiguous. The issue was diagnosed long ago by Bruce Evans on ffs and surfaced on ext2fs when block reallocaton was ported. This is only a partial solution based on the similarities with FFS. We still require more review of the allocation details that vary in ext2fs. Reported by: bde MFC after: 1 week
Diffstat (limited to 'sys/fs/hpfs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud