zero deleted blocks

Steven Hartland killing at multiplay.co.uk
Mon Aug 13 08:19:37 UTC 2012


Sounds like you may be talking about delete / trim support?

If so UFS supports BIO_DELETE via -t on newfs or on an existing
FS via tunefs -t enable

ZFS doesn't currently BIO_DELETE but should soon as we've sponsored
a project to add it, just waiting on it being committed. I've
got a patch against 8.3-RELEASE if your interested in testing.

It does require support from the underlying layers. cam ata
supports it but cam da doesn't but again we have a patch for
that if you want to test.

    Regards
    Steve

----- Original Message ----- 
From: "Petri Helenius" <petri at helenius.fi>
To: <freebsd-fs at freebsd.org>
Sent: Monday, August 13, 2012 7:01 AM
Subject: zero deleted blocks



Hi,

Is it possible to have ZFS or UFS to zero out the deallocated blocks to facilitate VM disk compaction?

Pete

_______________________________________________
freebsd-fs at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"


================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337
or return the E.mail to postmaster at multiplay.co.uk.



More information about the freebsd-fs mailing list