PR #882 does provide support for `fstrim` to work for encrypted devices. Encrypted LUKS devices would require `allow-discards` flags to be turned on for `fstrim` to work on them. https://wiki.archlinux.org/title/Dm-crypt/Specialties#Discard/TRIM_support_for_solid_state_drives_(SSD)
Activity
fix(luks): persist allow-discards so TRIM actually reaches the device