Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1342919 (configure_discard_per_domain_and_disk)

Summary: [RFE] Make discard configurable by a storage domain rather than a host
Product: [oVirt] ovirt-engine Reporter: Idan Shaby <ishaby>
Component: Backend.CoreAssignee: Idan Shaby <ishaby>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: high Docs Contact:
Priority: high    
Version: 3.6.2CC: amureini, bmcclain, bugs, ishaby, jentrena, lzitnits, melewis, nicolas, nsoffer, ratamir, tnisan, ykaul, ylavi
Target Milestone: ovirt-4.1.0-betaKeywords: FutureFeature
Target Release: 4.1.0.2Flags: rule-engine: ovirt-4.1+
bmcclain: priority_rfe_tracking+
ratamir: testing_plan_complete+
ylavi: planning_ack+
tnisan: devel_ack+
ratamir: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this update, it is now possible to configure discard after delete per block storage domain. Previously, a user could get similar functionality by configuring the discard_enable parameter in the VDSM configuration file. This caused each logical volume (disk or snapshot) that was about to be removed by this specific host to be discarded first. Now, discard after delete can be enabled for a block storage domain, rather than a host. This means that if discard after delete is enabled it no longer matters which host removes the logical volume as each logical volume under this domain will be discarded before it is removed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-15 14:59:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 981626    
Bug Blocks: 1420186    

Description Idan Shaby 2016-06-06 06:36:25 UTC
Description of problem:
Today, sending discard when removing a disk or a snapshot can be configured on the vdsm configuration file for a host. That means that a host with this property on will send discard calls for each disk/snapshot removal on any block storage domain.

Since the user might want to send discard calls only for some storage domains (those who are built on thin provisioned storage that supports discard), we should change this configuration from host oriented to block storage domain oriented.

Comment 1 Red Hat Bugzilla Rules Engine 2016-06-06 06:37:33 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.