]> sourceware.org Git - lvm2.git/commit
polldaemon: refactor polling interfaces
authorOndrej Kozina <okozina@redhat.com>
Fri, 10 Apr 2015 12:08:19 +0000 (14:08 +0200)
committerOndrej Kozina <okozina@redhat.com>
Tue, 5 May 2015 18:52:07 +0000 (20:52 +0200)
commit76a0dffe6f4869de9ca457119c9d7ced837d4e0b
tree1a0dc4c1138d1dc6943158428d5e585a7d848d56
parentbda26acf70e92232b1ed644dba6b44ecbff2a058
polldaemon: refactor polling interfaces

Routines responsible for polling of in-progress pvmove, snapshot merge
or mirror conversion each used custom lookup functions to find vg and
lv involved in polling.

Especially pvmove used pvname to lookup pvmove in-progress. The future
lvmpolld will poll each operation by vg/lv name (internally by lvid).
Also there're plans to make pvmove able to move non-overlaping ranges
of extents instead of single PVs as of now. This would also require
to identify the opertion in different manner.

The poll_operation_id structure together with daemon_parms structure they
identify unambiguously the polling task.
tools/lvconvert.c
tools/polldaemon.c
tools/polldaemon.h
tools/pvmove.c
tools/pvmove_poll.c
tools/pvmove_poll.h
tools/toollib.c
tools/tools.h
This page took 0.036464 seconds and 5 git commands to generate.