dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone

Blame SOURCES/disable-journal.patch

1f6b6a
--- a/ReadMe.c~	2017-12-11 11:15:10.314176222 +0800
1f6b6a
+++ b/ReadMe.c	2017-12-11 11:16:42.451297334 +0800
1f6b6a
@@ -147,7 +147,9 @@
1f6b6a
     {"data-offset",1, 0, DataOffset},
1f6b6a
     {"nodes",1, 0, Nodes}, /* also for --assemble */
1f6b6a
     {"home-cluster",1, 0, ClusterName},
1f6b6a
+#if 0 /*Disable for rhel8.0*/
1f6b6a
     {"write-journal",1, 0, WriteJournal},
1f6b6a
+#endif
1f6b6a
     {"consistency-policy", 1, 0, 'k'},
1f6b6a
 
1f6b6a
     /* For assemble */
1f6b6a
@@ -163,7 +165,9 @@
1f6b6a
     /* Management */
1f6b6a
     {"add",       0, 0, Add},
1f6b6a
     {"add-spare", 0, 0, AddSpare},
1f6b6a
+#if 0 /*Disable for rhel8.0*/
1f6b6a
     {"add-journal", 0, 0, AddJournal},
1f6b6a
+#endif
1f6b6a
     {"remove",    0, 0, Remove},
1f6b6a
     {"fail",      0, 0, Fail},
1f6b6a
     {"set-faulty",0, 0, Fail},
1f6b6a
@@ -383,7 +387,9 @@
1f6b6a
 "  --name=            -N : Textual name for array - max 32 characters\n"
1f6b6a
 "  --bitmap-chunk=       : bitmap chunksize in Kilobytes.\n"
1f6b6a
 "  --delay=           -d : bitmap update delay in seconds.\n"
1f6b6a
+#if 0 /*Disable for rhel8.0*/
1f6b6a
 "  --write-journal=      : Specify journal device for RAID-4/5/6 array\n"
1f6b6a
+#endif
1f6b6a
 "  --consistency-policy= : Specify the policy that determines how the array\n"
1f6b6a
 "                     -k : maintains consistency in case of unexpected shutdown.\n"
1f6b6a
 "\n"