
7 Jan
2012
7 Jan
'12
3:02 a.m.
On Sat, 7 Jan 2012, 13:28:41 EST, Craig Sanders <cas@taz.net.au> wrote:
Does anyone use fstrim on an XFS formatted SSD partition?
I've got two systems with XFS root partitions that fstrim seems to do (almost) nothing on, but it seems to work correctly on another system with formatted with ext4.
This was discussed on the btrfs list recently for the same reason (ext4 vs btrfs behaviour). The FS does send the trims to the device in both cases but ext4 remembers what's been trimmed whilst that fs is mounted. It's not recorded in the the ext4 fs though so if you remount it'll trim again. cheers, Chris -- Chris Samuel - http://www.csamuel.org/ - on mobile