Bug 802812 - Need to split md operations from data ops and separate locking
Summary: Need to split md operations from data ops and separate locking
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 3.0.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 3.5.0
Assignee: Allon Mureinik
QA Contact: yeylon@redhat.com
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-13 14:42 UTC by Dafna Ron
Modified: 2016-04-18 06:47 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-01 09:07:56 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (890.69 KB, application/x-gzip)
2012-03-13 14:42 UTC, Dafna Ron
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.