]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.h
Introduce MaxSector
[thirdparty/mdadm.git] / mdadm.h
diff --git a/mdadm.h b/mdadm.h
index 7b755408c290450a791bf21cef767d1142d1a3db..9cf15c41b1b0c1a483a01d9f48bbc54b1e473a1b 100644 (file)
--- 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;