svn commit: r363255 - head/sys/dev/virtio/block
Alan Somers
asomers at freebsd.org
Thu Jul 16 16:45:41 UTC 2020
On Thu, Jul 16, 2020 at 10:32 AM Allan Jude <allanjude at freebsd.org> wrote:
> Author: allanjude
> Date: Thu Jul 16 16:32:16 2020
> New Revision: 363255
> URL: https://svnweb.freebsd.org/changeset/base/363255
>
> Log:
> Add VIRTIO_BLK_T_DISCARD support to the virtio-blk driver
>
> If the hypervisor advertises support for the DISCARD command then the
> guest can perform TRIM commands, freeing space on the backing store.
>
> If VIRTIO_BLK_F_DISCARD is enabled, advertise DISKFLAG_CANDELETE
>
> Tested with FreeBSD guests on bhyve and KVM
>
+1
More information about the svn-src-all
mailing list