qemu-devel
[Top][All Lists]
Advanced

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

[Bug 1925094] [NEW] DISCARD support for Crypto Block Devices


From: David Tomaschik
Subject: [Bug 1925094] [NEW] DISCARD support for Crypto Block Devices
Date: Tue, 20 Apr 2021 00:56:13 -0000

Public bug reported:

It appears that running `fstrim` or similar is useless when the VM is on
a LUKS-encrypted device using QEMU's native LUKS support.

Looking at the source, it seems that block/crypto.c lacks an
implementation for bdrv_co_pdiscard, which probably needs to delegate to
a per-crypto type discard helper.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1925094

Title:
  DISCARD support for Crypto Block Devices

Status in QEMU:
  New

Bug description:
  It appears that running `fstrim` or similar is useless when the VM is
  on a LUKS-encrypted device using QEMU's native LUKS support.

  Looking at the source, it seems that block/crypto.c lacks an
  implementation for bdrv_co_pdiscard, which probably needs to delegate
  to a per-crypto type discard helper.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1925094/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]