On 02/21/2011 08:55 PM, Roberto Spadim wrote:
it can be used for badblock reallocation if harddisk have it a harddisk is near to NOR ssd with variable accesstime, if head is near sector to be read/write accesstime is small, if sector is far from head, access time increase (normaly<=1 disk revolution if head control system is good, for 7200rpm 1revolution is near to 8.33ms)
Bad blocks are only reallocated when you write to them. Since they are bad, you can't read the previous contents anyway, so it does not matter whether the OS cared about it before or not.
You seem to not understand the fundamental purpose of TRIM. Hard disks only reallocate blocks when they go bad. SSDs move blocks around all the time. That process can be optimized if the drive knows that the OS does not care about certain blocks. Hard drives don't do this, so they have no reason to support TRIM.
-- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html