New patch submitted by Federico Simoncelli (fsimonce(a)redhat.com)
You can review this change at:
http://gerrit.usersys.redhat.com/652
commit c51c0cb0f616fa4f2de10f9a28110a23ce4dd9b7
Author: Federico Simoncelli <fsimonce(a)redhat.com>
Date: Mon Jul 4 14:21:56 2011 +0000
BZ#699976 Related, use RHEVM leasetime and timeout
Increase DMDK_IO_OP_TIMEOUT_SEC to 10 seconds and DMDK_LEASE_TIME_SEC
to 60 seconds (RHEVM default values) to avoid spm self-fences when
working on slow storages.
Change-Id: I1d641290521379febca24331d1531f658996956b
diff --git a/vdsm/storage/sd.py b/vdsm/storage/sd.py
index 41363ba..f40236c 100644
--- a/vdsm/storage/sd.py
+++ b/vdsm/storage/sd.py
@@ -108,9 +108,9 @@ DMDK_LEASE_RETRIES = 'LEASERETRIES'
DEFAULT_LEASE_PARAMS = {DMDK_LOCK_POLICY : "ON",
DMDK_LEASE_RETRIES : 3,
- DMDK_LEASE_TIME_SEC : 30,
+ DMDK_LEASE_TIME_SEC : 60,
DMDK_LOCK_RENEWAL_INTERVAL_SEC : 5,
- DMDK_IO_OP_TIMEOUT_SEC : 1}
+ DMDK_IO_OP_TIMEOUT_SEC : 10}
MASTER_FS_DIR = 'master'
VMS_DIR = 'vms'