diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 17:54:32 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 17:54:32 -0700 |
commit | 1e5c69836d4d0b6dcaef8fc187e6bf2841eb57f6 (patch) | |
tree | 8fbd3075e85acccba73a9845ef3cdae9bf6d8e89 /bitmap.c | |
parent | 2904b26f059c5d82d9d631c9987e92e3f9af498c (diff) | |
download | mdadm-1e5c69836d4d0b6dcaef8fc187e6bf2841eb57f6.tar.gz mdadm-1e5c69836d4d0b6dcaef8fc187e6bf2841eb57f6.tar.xz mdadm-1e5c69836d4d0b6dcaef8fc187e6bf2841eb57f6.zip |
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>
Diffstat (limited to 'bitmap.c')
-rw-r--r-- | bitmap.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -20,8 +20,6 @@ #include "mdadm.h" -#define min(a,b) (((a) < (b)) ? (a) : (b)) - inline void sb_le_to_cpu(bitmap_super_t *sb) { sb->magic = __le32_to_cpu(sb->magic); |