On Sat, Nov 18, 2017 at 11:27 PM, Andrei Borzenkov [off-list ref] wrote:
19.11.2017 09:17, Chris Murphy пишет:
quoted
fstrim should trim free space, but it only trims unallocated. This is
with kernel 4.14.0 and the entire 4.13 series. I'm pretty sure it
behaved this way with 4.12 also.
Well, I was told it should also trim free space ...
https://www.spinics.net/lists/linux-btrfs/msg61819.html
It definitely isn't. If I do a partial balance, then fstrim, I get a
larger trimmed value, corresponding exactly to unallocated space.
--
Chris Murphy