I'm using LUKS/dmcrypt to encrypt my SSD boot drive.
How does wear-leveling and effective garbage collection/TRIM work on encrypted SSD partitions?
I'm using LUKS/dmcrypt to encrypt my SSD boot drive.
How does wear-leveling and effective garbage collection/TRIM work on encrypted SSD partitions?
I think it just count how many times a memory block has been written and keep a ranking, less used blocks are prioritary for the upcoming writes. But remember that a logical FS block is not attached always to the same physical block, it can be moved around the disk, so when there is a wear leveling and you rewrite a file, the physical blocks might not be the same.