Thread (22 messages) 22 messages, 3 authors, 2018-04-01

Re: bug? fstrim only trims unallocated space, not unused in bg's

From: Chris Murphy <hidden>
Date: 2017-11-19 21:39:00

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help