Re: Hole-punching, TRIM, etc

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 13 Nov 2018 22:59:44 +0000
--------
In message <CANCZdfp5UDcH-SLDVvvhkB0dTnhuP0tZ8YT0tUJkF8egAZgYuA_at_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_at_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.
Received on Tue Nov 13 2018 - 21:59:46 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC