imsm: add support for checkpointing via 'curr_migr_unit'
authorDan Williams <dan.j.williams@intel.com>
Tue, 22 Dec 2009 00:54:32 +0000 (17:54 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 22 Dec 2009 00:54:32 +0000 (17:54 -0700)
commit1e5c69836d4d0b6dcaef8fc187e6bf2841eb57f6
tree8fbd3075e85acccba73a9845ef3cdae9bf6d8e89
parent2904b26f059c5d82d9d631c9987e92e3f9af498c
imsm: add support for checkpointing via 'curr_migr_unit'

Unlike native md checkpointing some data about the geometry and type of
the migration process is coded into curr_migr_unit.  Provide logic to
convert between md/{resync_start|recovery_start} and imsm/curr_migr_unit.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
bitmap.c
mdadm.h
super-intel.c
util.c