The ext2fs notion of cylinder groups relies only on adjacency in terms of
linear sector numbers, disregarding the bogus logical geometry reported by
the disk. Even on modern disk drives, accessing blocks closest in linear
sector number is usually fastest, and the ext2fs notion of cylinder groups
exploits this. Locality of reference in the linear sense thus still applies.
So, when the writer tries to keep the file contained within one cylinder
group, it is contained within a small section of the disk when viewed
linearly. Granted because disks are not linear, the length of time to seek
from one linear block to another is not linear, but this does not hurt us as
we do not even attempt to take advantage of it.
-- Robert Minichino Chief Engineer Denarius Enterprises, Inc. http://www.denarius.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/