From 25d906dbde45bc64c5a0978e40c810b3b070cb0d Mon Sep 17 00:00:00 2001 From: Alasdair G Kergon Date: Wed, 21 Jan 2015 12:54:00 +0000 Subject: [PATCH] dmeventd: Reduce waitevent EINTR message severity. --- WHATS_NEW_DM | 1 + libdm/ioctl/libdm-iface.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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,