Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2018 15:58:45 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        "Conrad E. Meyer" <cem@freebsd.org>
Cc:        Alan Somers <asomers@freebsd.org>, FreeBSD FS <freebsd-fs@freebsd.org>,  FreeBSD Current <freebsd-current@freebsd.org>,  "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: Hole-punching, TRIM, etc
Message-ID:  <CANCZdfqs049govetUdocwD-dTvbg=Y=zy2gxtT20Lqhy=2Wduw@mail.gmail.com>
In-Reply-To: <CAG6CVpVcr=e=Dmg3JKD0BVQ9wiEWUujThAwy=PXyoyoRr_R7Og@mail.gmail.com>
References:  <CAOtMX2jgb_Pf9-MqirM=xihVpyRmAGZKx2VRnvA_1Fx6kMYXXg@mail.gmail.com> <CAG6CVpVcr=e=Dmg3JKD0BVQ9wiEWUujThAwy=PXyoyoRr_R7Og@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 13, 2018 at 3:52 PM Conrad Meyer <cem@freebsd.org> wrote:

> Geom devices have the DIOCGDELETE ioctl, which translates into
> BIO_DELETE (which is TRIM, as I understand it).
>

Correct. TRIM is both the catch-all term people use, as well as the name of
a specific DSM (data set management) command in the ATA command set. All
FLASH technologies have it (thought what it means under the covers varies a
bit). Thin provisioned resources like in VMs also have it.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqs049govetUdocwD-dTvbg=Y=zy2gxtT20Lqhy=2Wduw>