In message
, 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
p...@freebsd.org | TCP/IP since RFC
On Tue, Nov 13, 2018 at 2:59 PM Alan Somers wrote:
>
> On Tue, Nov 13, 2018 at 3:51 PM Conrad Meyer wrote:
>>
>> On Tue, Nov 13, 2018 at 2:10 PM Alan Somers wrote:
>> > ...
>> > 8) Add aio_freesp(2), an asynchronous version of fcntl(F_FREESP).
>>
>> Why not just add DIOCGDELETE support to
On Tue, Nov 13, 2018 at 3:52 PM Conrad Meyer 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
On Tue, Nov 13, 2018 at 3:51 PM Warner Losh wrote:
>
>
> On Tue, Nov 13, 2018 at 3:10 PM Alan Somers wrote:
>
>> Hole-punching has been discussed on these lists before[1]. It basically
>> means to turn a dense file into a sparse file by deallocating storage for
>> some of the blocks in the
On Tue, Nov 13, 2018 at 3:51 PM Conrad Meyer wrote:
> Hi Alan,
>
> On Tue, Nov 13, 2018 at 2:10 PM Alan Somers wrote:
> >
> > Hole-punching has been discussed on these lists before[1]. It basically
> > means to turn a dense file into a sparse file by deallocating storage for
> > some of the
Hi Alan,
On Tue, Nov 13, 2018 at 2:10 PM Alan Somers wrote:
>
> Hole-punching has been discussed on these lists before[1]. It basically
> means to turn a dense file into a sparse file by deallocating storage for
> some of the blocks in the middle. There's no standard API for it. Linux
> uses
On Tue, Nov 13, 2018 at 3:10 PM Alan Somers wrote:
> Hole-punching has been discussed on these lists before[1]. It basically
> means to turn a dense file into a sparse file by deallocating storage for
> some of the blocks in the middle. There's no standard API for it. Linux
> uses
Hole-punching has been discussed on these lists before[1]. It basically
means to turn a dense file into a sparse file by deallocating storage for
some of the blocks in the middle. There's no standard API for it. Linux
uses fallocate(2); Solaris and OSX add a new opcode to fcntl(2).
A related