Re: [PATCH] Allow specifying zero discard granularity for block devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 17, 2025 at 15:14:36 +0200, Martin Kletzander via Devel wrote:
> From: Martin Kletzander <mkletzan@xxxxxxxxxx>
> 
> That allows for disabling discard in a way that some guest
> OSes (e.g. Windows) understand and do not try to trim the disk.
> 
> Resolves: https://issues.redhat.com/browse/RHEL-72006
> Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
> ---
> Out of all the approaches for allowing previously default value 100% of them are
> ugly.  This one is maybe slightly more error-prone.
> 
>  src/conf/domain_conf.c     | 12 ++++++++----
>  src/conf/domain_conf.h     |  1 +
>  src/conf/domain_validate.c |  2 +-
>  src/qemu/qemu_command.c    |  7 ++++++-
>  tests/qemuxmlconftest.c    |  1 +
>  5 files changed, 17 insertions(+), 6 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux