projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] md: allow checkpoint of recovery with version-1 superblock
[linux-2.6-block.git]
/
include
/
linux
/
raid
/
md_p.h
diff --git
a/include/linux/raid/md_p.h
b/include/linux/raid/md_p.h
index f1fbae7e390ec4f53d67fa54e244153768449061..b6ebc69bae54d7b22402732355279d474701f699 100644
(file)
--- a/
include/linux/raid/md_p.h
+++ b/
include/linux/raid/md_p.h
@@
-265,9
+265,12
@@
struct mdp_superblock_1 {
/* feature_map bits */
#define MD_FEATURE_BITMAP_OFFSET 1
/* feature_map bits */
#define MD_FEATURE_BITMAP_OFFSET 1
+#define MD_FEATURE_RECOVERY_OFFSET 2 /* recovery_offset is present and
+ * must be honoured
+ */
#define MD_FEATURE_RESHAPE_ACTIVE 4
#define MD_FEATURE_RESHAPE_ACTIVE 4
-#define MD_FEATURE_ALL
5
+#define MD_FEATURE_ALL
(1|2|4)
#endif
#endif