Initiate TRIM/DELETE to a range of blocks from userland?
Steven Hartland
killing at multiplay.co.uk
Mon Dec 14 20:59:08 UTC 2015
http://blog.multiplay.co.uk/dropzone/freebsd/ioctl-delete.c will do this
for you.
Be aware it will just do it so you can really shoot your self in the
foot if your not careful.
On 14/12/2015 20:52, Maxim Sobolev wrote:
> Hi guys, let's say I have a raw device (e.g. "ada1") and I want to
> generate BIO_DELETE to a range of offsets on that device. Is there any
> way to do it now, and if not, what do you think would be the most
> proper way to get something like this implemented? New ioctl and some
> new flag for the dd(1)?
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers
mailing list