Re: periodic trim for ufs2 ssds

From: Warner Losh <imp_at_bsdimp.com>
Date: Thu, 07 Dec 2023 14:20:10 UTC
On Thu, Dec 7, 2023, 7:13 AM void <void@f-m.fm> wrote:

> Hello list,
>
> Is there a way or a port available to invoke trim for ufs formatted
> ssds while multiuser & mounted?
>

You need to tunefs that on and it will happen as you go. There is no way to
batch this up to do it in the background. But there's no advantage to
trimming a block multiple times... :).

Warner

I know zfs has this ability, with the zpool -t poolname command
> and it runs fine while multiuser. I can't find an equivalent for
> ufs though. Is there one?
> --
>
>