[systemd-devel] consider dropping defrag of journals on btrfs

Phillip Susi phill at thesusis.net
Mon Feb 8 14:54:13 UTC 2021


Chris Murphy writes:

>> It sounds like you are arguing that it is better to do the wrong thing
>> on all SSDs rather than do the right thing on ones that aren't broken.
>
> No I'm suggesting there isn't currently a way to isolate
> defragmentation to just HDDs.

Yes, but it sounded like you were suggesting that we shouldn't even try,
not just that it isn't 100% accurate.  Sure, some SSDs will be stupid
and report that they are rotational, but most aren't stupid, so it's a
good idea to disable the defragmentation on drives that report that they
are non rotational.


More information about the systemd-devel mailing list