On Sat, Nov 18, 2017 at 11:27 PM, Andrei Borzenkov <arvidj...@gmail.com> wrote: > 19.11.2017 09:17, Chris Murphy пишет: >> 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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html