summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2015-01-21 12:54:00 +0000
committerAlasdair G Kergon <agk@redhat.com>2015-01-21 12:54:00 +0000
commit25d906dbde45bc64c5a0978e40c810b3b070cb0d (patch)
treee0e87ca1dc8fb905ac01cd1d935ed7cf1fc94a97
parent7cfc9a4f640296679f2b860842cc8b25b82fd30f (diff)
downloadlvm2-25d906dbde45bc64c5a0978e40c810b3b070cb0d.tar.gz
dmeventd: Reduce waitevent EINTR message severity.
-rw-r--r--WHATS_NEW_DM1
-rw-r--r--libdm/ioctl/libdm-iface.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM
index 0a5987575..8cbb6b65a 100644
--- a/WHATS_NEW_DM
+++ b/WHATS_NEW_DM
@@ -1,5 +1,6 @@
Version 1.02.93 -
====================================
+ Reduce severity of ioctl error message when dmeventd waitevent is interrupted.
Report 'unknown version' when incompatible version numbers were not obtained.
Report more info from thin pool status (out of data, metadata-ro, fail).
Support error_if_no_space for thin pool target.
diff --git a/libdm/ioctl/libdm-iface.c b/libdm/ioctl/libdm-iface.c
index f8b4ed999..f971519ea 100644
--- a/libdm/ioctl/libdm-iface.c
+++ b/libdm/ioctl/libdm-iface.c
@@ -1801,7 +1801,7 @@ static struct dm_ioctl *_do_dm_ioctl(struct dm_task *dmt, unsigned command,
(dmt->type == DM_DEVICE_STATUS)))
dmi->flags &= ~DM_EXISTS_FLAG; /* FIXME */
else {
- if (_log_suppress)
+ if (_log_suppress || errno == EINTR)
log_verbose("device-mapper: %s ioctl "
"failed: %s",
_cmd_data_v4[dmt->type].name,