Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2020 10:45:28 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Allan Jude <allanjude@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>,  svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r363255 - head/sys/dev/virtio/block
Message-ID:  <CAOtMX2g1Eu5ZH-3S5MbF_OLyohSNYXquW00D7f83Pu%2Bpsna2uQ@mail.gmail.com>
In-Reply-To: <202007161632.06GGWGIR034870@repo.freebsd.org>
References:  <202007161632.06GGWGIR034870@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 16, 2020 at 10:32 AM Allan Jude <allanjude@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2g1Eu5ZH-3S5MbF_OLyohSNYXquW00D7f83Pu%2Bpsna2uQ>