Bug 802812

Summary: Need to split md operations from data ops and separate locking
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: vdsmAssignee: Allon Mureinik <amureini>
Status: CLOSED WONTFIX QA Contact: yeylon <yeylon>
Severity: high Docs Contact:
Priority: high    
Version: 3.0.0CC: abaron, amureini, bazulay, danken, hateya, iheim, jkt, lpeer, srevivo
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-01 09:07:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs none

Description Dafna Ron 2012-03-13 14:42:08 UTC
Created attachment 569695 [details]
logs

Description of problem:

currently, when running any command that requires change in metadata we lock the whole domain and not just the metadata. 
this means that if I am running a task which takes a long time I will get a lock timeout from vdsm (as described in bug 802806) 
can we change the lock from domain to metadata? 

Version-Release number of selected component (if applicable):

vdsm-4.9-112.8.el6_2.x86_64

How reproducible:

100%

Steps to Reproduce:
1. import vm's /templates to your setup
2. try to edit domain's name 
3.
  
Actual results:

after a few minutes we get a resource time out error from vdsm 

Expected results:

we should only lock metadata of domain and not whole domain - that way, if we have a long task (such as import of vm with large preallocated disk) changes to metadata of domain can be performed. 

Additional info:full logs

Comment 1 RHEL Program Management 2012-05-04 04:06:47 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 2 Itamar Heim 2013-12-01 09:07:56 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.

note there is work to clean this one up, as part of the larger "remove pool/spm" feature.