On Fr, 20.12.19 13:39, Fedora Development ML (devel(a)lists.fedoraproject.org) wrote:
On 20.12.2019 10:23, Lennart Poettering wrote:
> So, if this is desirable, why doesn't the kernel do this on its own?
Kernel's TRIM has issues with data corruption on some SSD controllers.
You can check drivers/ata/libata-core.c of Linux kernel sources for more
information.
If that's the case, then what is different with the feature posted
here? in both cases it's the kernel that issues the TRIM, how would it
be safer to trigger that from a userspace program by default rather
than triggering that from a kernel-internal timer by default?
Why involve userspace in this at all? the kernel executes the actual
operation either way, but why bother userspace with this?
Lennart
--
Lennart Poettering, Berlin