LVM2 ./WHATS_NEW tools/toollib.c
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at sourceware.org 2009-09-29 20:33:49
Modified files:
. : WHATS_NEW
tools : toollib.c
Log message:
look up pvmove by pvmove LV when PVMOVE flag is set
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.1281&r2=1.1282
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/toollib.c.diff?cvsroot=lvm2&r1=1.171&r2=1.172
WHATS_NEW +0 -1
@@ -1,6 +1,5 @@ Version 2.02.54 - ===================================== - Don't attempt to restart pvmoves when deactivating LVs in vgchange. Restart lvconverts in vgchange by sharing lv_spawn_background_polling. Generalise polldaemon code by changing mirror-specific variable names. Don't attempt to deactivate an LV if any of its snapshots are in use.
tools/toollib.c +6 -1
@@ -1253,7 +1253,12 @@ {const char *pvname; -if ((lv->status &LOCKED ) && +if ((lv->status &PVMOVE ) && + (pvname =get_pvmove_pvname_from_lv_mirr (lv))) { +log_verbose ("Spawning background pvmove process for %s" , + pvname); +pvmove_poll (cmd, pvname,1 ); + }else if ((lv->status &LOCKED ) && (pvname =get_pvmove_pvname_from_lv (lv))) {log_verbose ("Spawning background pvmove process for %s" , pvname);