Re: SSD - TRIM command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/21/2011 03:52 PM, Roberto Spadim wrote:
trim tell harddisk that those block are not in use

not in use block can be used by harddisk reallocation algorithm, like
spare sectors

hard disks can use TRIM command to 'create' 'good' blocks like spare sectors

I'm trying really hard to follow what this means but just can't grasp what you're getting at. What scenario is there in which trim actually does anything for you on an HD? I can't think of any situation where this makes any sense for HDs with current firmware functionality. If a sector is unused, but bad, you won't know until you write to it. If it's bad and you write to it, the write gets reallocated to a good spare sector. Are you proposing to notify the drive what sectors are unused so it can check for and reallocate bad blocks before they're used again? Something else?

--
Brendan Conoboy / Red Hat, Inc. / blc@xxxxxxxxxx
--
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


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux