it can't because today filesystem (exclude ext4 and swap) don't use trim command to tell device what block isn't in use 2011/2/22 Phillip Susi <psusi@xxxxxxxxxx>: > On 02/21/2011 10:29 PM, Roberto Spadim wrote: >> >> what device level could do? use a 'good block' (if exists) => dynamic >> reallocation >> 'good block' = block not in use by filesystem, not marked as bad, can >> be used by realloc > > No. It can only use blocks reserved for spares at manufacture time. It can > not use any old block that the fs is not using at the time, because the fs > may choose to use it in the future. > -- > 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 > -- Roberto Spadim Spadim Technology / SPAEmpresarial -- 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