Re: zfs autotrim default to off now

From: Bob Bishop <rb_at_gid.co.uk>
Date: Mon, 28 Aug 2023 20:09:55 UTC
Hi,

> On 28 Aug 2023, at 20:00, Alexander Motin <mav@FreeBSD.org> wrote:
> 
> On 28.08.2023 13:56, Pete Wright wrote:
>> So to be clear, if we were using the default autotrim=enabled behavior we in fact weren't having our SSDs trimmed?  I think that's my concern, as an admin I was under the impression that it was enabled by default but apparently that wasn't actually happening.
> 
> We wanted autotrim to be enabled by default, but it was not enabled, and it was reported as not enabled, so there should be no confusion.  The only confusion may have been if you tried to read the code and see it should have been enabled.
> 
> -- 
> Alexander Motin

Prompted by this thread, I went to check one of my servers that predates the change to OpenZFS. I set autotrim=on at the time of the transition; at some point since, it had become unset (and not by me). The system has been upgraded from time to time and is currently running 13.2R. 

--
Bob Bishop
rb@gid.co.uk