diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 10:23:26 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 10:23:26 -0700 |
commit | b7528a20cca58c973771d94d7d2b8ef74bcf582d (patch) | |
tree | c49e951944dfe3aa7a8659453f7874ac041f98cc /mdadm.h | |
parent | e1516be1db121e6f462b41a739106e33461a733a (diff) | |
download | mdadm-b7528a20cca58c973771d94d7d2b8ef74bcf582d.tar.gz |
Introduce MaxSector
Replace occurrences of ~0ULL to make it clear we are talking about maximal
resync/recovery position.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -149,6 +149,7 @@ struct mdinfo { union { unsigned long long resync_start; /* per-array resync position */ unsigned long long recovery_start; /* per-device rebuild position */ + #define MaxSector (~0ULL) /* resync/recovery complete position */ }; unsigned long safe_mode_delay; /* ms delay to mark clean */ int new_level, delta_disks, new_layout, new_chunk; |