yes. Look at raid1.c: the code is quite clear. Older versions didnt.
> This then brings up two more questions:
> 1. Does the OS even know where the heads are in a modern IDE disk?
Not really. But there is probably a vague correspondence. Especially if
you havent remapped any bad sectors.
> 2. Is "closer" any more finely grained than a binary
I think so. You can see different performance regions on disks (ie they
are faster on the outside for example). You could of course write a program
to test seek times from different areas and build up a real locality map.
It might not be worth it though.
> And I guess another question: How much does RAID 1 help and under what
> kinds of usage?
the latency is noticeably less in some cases, as the seeks should be smaller
on average. I have found this useful sometimes.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/