From mboxrd@z Thu Jan 1 00:00:00 1970 From: agk@sourceware.org Date: 29 Jun 2011 08:54:14 -0000 Subject: LVM2/libdm/ioctl libdm-iface.c Message-ID: <20110629085414.6309.qmail@sourceware.org> List-Id: To: lvm-devel@redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/lvm2 Module name: LVM2 Changes by: agk at sourceware.org 2011-06-29 08:54:14 Modified files: libdm/ioctl : libdm-iface.c Log message: Temporary conversion to internal error and failure, to see how many instances of this problem this flushes out. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/ioctl/libdm-iface.c.diff?cvsroot=lvm2&r1=1.108&r2=1.109 --- LVM2/libdm/ioctl/libdm-iface.c 2011/06/27 21:43:59 1.108 +++ LVM2/libdm/ioctl/libdm-iface.c 2011/06/29 08:54:13 1.109 @@ -2059,8 +2059,8 @@ } if ((suspended_counter = dm_get_suspended_counter()) && - dmt->type == DM_DEVICE_RELOAD) - log_error("Performing unsafe table load while %d device(s) " + dmt->type == DM_DEVICE_RELOAD) { + log_error(INTERNAL_ERROR "Performing unsafe table load while %d device(s) " "are known to be suspended: " "%s%s%s %s%.0d%s%.0d%s%s", suspended_counter, @@ -2073,6 +2073,8 @@ dmt->minor > 0 ? dmt->minor : 0, dmt->major > 0 && dmt->minor == 0 ? "0" : "", dmt->major > 0 ? ") " : ""); + return 0; + } /* FIXME Detect and warn if cookie set but should not be. */ repeat_ioctl: