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