summaryrefslogtreecommitdiff
path: root/mdadm.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-12-21 10:23:26 -0700
committerDan Williams <dan.j.williams@intel.com>2009-12-21 10:23:26 -0700
commitb7528a20cca58c973771d94d7d2b8ef74bcf582d (patch)
treec49e951944dfe3aa7a8659453f7874ac041f98cc /mdadm.h
parente1516be1db121e6f462b41a739106e33461a733a (diff)
downloadmdadm-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 7b75540..9cf15c4 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -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;