Blame SOURCES/lvm2-2_02_142-do-not-check-for-suspended-devices-if-scanning-for-lvmetad-update.patch
|
|
64d45c |
WHATS_NEW | 4 ++++
|
|
|
64d45c |
lib/filters/filter-usable.c | 9 +--------
|
|
|
64d45c |
2 files changed, 5 insertions(+), 8 deletions(-)
|
|
|
64d45c |
|
|
|
64d45c |
diff --git a/WHATS_NEW b/WHATS_NEW
|
|
|
64d45c |
index 0fa6bb6..945b282 100644
|
|
|
64d45c |
--- a/WHATS_NEW
|
|
|
64d45c |
+++ b/WHATS_NEW
|
|
|
64d45c |
@@ -1,3 +1,7 @@
|
|
|
64d45c |
+Version 2.02.142 -
|
|
|
64d45c |
+====================================
|
|
|
64d45c |
+ Do not check for suspended devices if scanning for lvmetad update.
|
|
|
64d45c |
+
|
|
|
64d45c |
Version 2.02.133 -
|
|
|
64d45c |
======================================
|
|
|
64d45c |
Check for enough space in thin-pool in command before creating new thin.
|
|
|
64d45c |
diff --git a/lib/filters/filter-usable.c b/lib/filters/filter-usable.c
|
|
|
64d45c |
index 9377661..b24a30c 100644
|
|
|
64d45c |
--- a/lib/filters/filter-usable.c
|
|
|
64d45c |
+++ b/lib/filters/filter-usable.c
|
|
|
64d45c |
@@ -126,15 +126,8 @@ static int _passes_usable_filter(struct dev_filter *f, struct device *dev)
|
|
|
64d45c |
break;
|
|
|
64d45c |
case FILTER_MODE_PRE_LVMETAD:
|
|
|
64d45c |
ucp.check_empty = 1;
|
|
|
64d45c |
- /*
|
|
|
64d45c |
- * If we're scanning for lvmetad update,
|
|
|
64d45c |
- * we don't want to hang on blocked/suspended devices.
|
|
|
64d45c |
- * When the device is unblocked/resumed, surely,
|
|
|
64d45c |
- * there's going to be a CHANGE event so the device
|
|
|
64d45c |
- * gets scanned via udev rule anyway after resume.
|
|
|
64d45c |
- */
|
|
|
64d45c |
ucp.check_blocked = 1;
|
|
|
64d45c |
- ucp.check_suspended = 1;
|
|
|
64d45c |
+ ucp.check_suspended = 0;
|
|
|
64d45c |
ucp.check_error_target = 1;
|
|
|
64d45c |
ucp.check_reserved = 1;
|
|
|
64d45c |
break;
|