Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2018 22:59:44 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Warner Losh <imp@bsdimp.com>
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:  <4235.1542149984@critter.freebsd.dk>
In-Reply-To: <CANCZdfp5UDcH-SLDVvvhkB0dTnhuP0tZ8YT0tUJkF8egAZgYuA@mail.gmail.com>
References:  <CAOtMX2jgb_Pf9-MqirM=xihVpyRmAGZKx2VRnvA_1Fx6kMYXXg@mail.gmail.com> <CANCZdfp5UDcH-SLDVvvhkB0dTnhuP0tZ8YT0tUJkF8egAZgYuA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
In message <CANCZdfp5UDcH-SLDVvvhkB0dTnhuP0tZ8YT0tUJkF8egAZgYuA@mail.gmail=
.com>
, Warner Losh writes:

>On a raw device it would be translated into a BIO_DELETE command directly=
,
>correct?

We already have ioctl(DIOCGDELETE) for that.  newfs(8) uses it.

-- =

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    =

Never attribute to malice what can adequately be explained by incompetence=
.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4235.1542149984>