Hello community, here is the log from the commit of package device-mapper for openSUSE:Factory checked in at Tue Dec 28 23:59:39 CET 2010. -------- --- device-mapper/device-mapper.changes 2010-10-31 19:03:11.000000000 +0100 +++ /mounts/work_src_done/STABLE/device-mapper/device-mapper.changes 2010-12-15 09:33:21.000000000 +0100 @@ -0,0 +1,5 @@ +Wed Dec 15 16:30:55 CST 2010 - cmeng@novell.com + +- sleep and try to wait opne_count to be 0 while lvremove. + (Bug #642296) + lvm2.changes: same change calling whatdependson for head-i586 New: ---- sleep-try-open-count.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ device-mapper.spec ++++++ --- /var/tmp/diff_new_pack.vKTN66/_old 2010-12-28 23:58:26.000000000 +0100 +++ /var/tmp/diff_new_pack.vKTN66/_new 2010-12-28 23:58:26.000000000 +0100 @@ -27,7 +27,7 @@ %endif # Version: 1.02.49 -Release: 11 +Release: 12 Summary: Device Mapper Tools Source: LVM2.2.02.67.tgz Source1: boot.device-mapper @@ -44,6 +44,7 @@ Patch67: udev-rules_update.diff #Patch68: device-mapper-pkgconfig.patch Patch69: fix-typo.diff +Patch70: sleep-try-open-count.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libselinux-devel libudev-devel PreReq: %insserv_prereq %fillup_prereq @@ -72,6 +73,7 @@ %patch67 -p1 #%patch68 -p0 %patch69 -p1 +%patch70 -p1 #%patch80 -p0 %build ++++++ lvm2-clvm.spec ++++++ --- /var/tmp/diff_new_pack.vKTN66/_old 2010-12-28 23:58:26.000000000 +0100 +++ /var/tmp/diff_new_pack.vKTN66/_new 2010-12-28 23:58:26.000000000 +0100 @@ -24,7 +24,7 @@ License: GPLv2+ ; LGPLv2.1+ Group: System/Base Version: 2.02.67 -Release: 9 +Release: 10 Requires: device-mapper >= 1.02.25 lvm2 = %{version} openais Provides: clvm PreReq: %fillup_prereq %insserv_prereq ++++++ lvm2.spec ++++++ --- /var/tmp/diff_new_pack.vKTN66/_old 2010-12-28 23:58:26.000000000 +0100 +++ /var/tmp/diff_new_pack.vKTN66/_new 2010-12-28 23:58:26.000000000 +0100 @@ -28,7 +28,7 @@ PreReq: %fillup_prereq %insserv_prereq AutoReqProv: on Version: 2.02.67 -Release: 11 +Release: 12 Summary: LVM2 Tools Source: LVM2.%{version}.tgz Source1: lvm.conf ++++++ sleep-try-open-count.diff ++++++ Index: LVM2.2.02.67/libdm/libdm-deptree.c =================================================================== --- LVM2.2.02.67.orig/libdm/libdm-deptree.c +++ LVM2.2.02.67/libdm/libdm-deptree.c @@ -1143,6 +1143,19 @@ static int _dm_tree_deactivate_children( (child->presuspend_node && !_node_has_closed_parents(child->presuspend_node, uuid_prefix, uuid_prefix_len))) { + + int idx = 10; + while (info.open_count && idx--) { + struct timespec ts = {0, 500000000}; + nanosleep(&ts, NULL); + _info_by_dev(dinfo->major, dinfo->minor, 1, &info); + } + + if (info.open_count) { + log_error("give up on open_count"); + continue; + } + /* Only report error from (likely non-internal) dependency at top level */ if (!level) { log_error("Unable to deactivate open %s (%" PRIu32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org