Whamcloud - gitweb
- make HEAD from b_post_cmd3
[fs/lustre-release.git] / lustre / utils / llog_reader.c
index 117bf64..dec25e4 100644 (file)
@@ -201,7 +201,7 @@ void print_llog_header(struct llog_log_hdr *llog_buf)
         time_t t;
 
         printf("Header size : %u\n",
-                le32_to_cpu(llog_buf->llh_hdr.lrh_len));
+               le32_to_cpu(llog_buf->llh_hdr.lrh_len));
 
         t = le64_to_cpu(llog_buf->llh_timestamp);
         printf("Time : %s", ctime(&t));
@@ -253,6 +253,7 @@ static void print_setup_cfg(struct lustre_cfg *lcfg)
                 printf("setup     ");
                 print_1_cfg(lcfg);
         }
+        
         return;
 }
 
@@ -313,6 +314,16 @@ void print_lustre_cfg(struct lustre_cfg *lcfg, int *skip)
                 print_1_cfg(lcfg);
                 break;
         }
+        case(LCFG_ADD_MDC):{
+                printf("modify_mdc_tgts add ");
+                print_1_cfg(lcfg);
+                break;
+        }
+        case(LCFG_DEL_MDC):{
+                printf("modify_mdc_tgts del ");
+                print_1_cfg(lcfg);
+                break;
+        }
         case(LCFG_MOUNTOPT):{
                 printf("mount_option ");
                 print_1_cfg(lcfg);
@@ -341,6 +352,7 @@ void print_lustre_cfg(struct lustre_cfg *lcfg, int *skip)
         case(LCFG_MARKER):{
                 struct cfg_marker *marker = lustre_cfg_buf(lcfg, 1);
                 char createtime[26], canceltime[26] = "";
+
                 if (marker->cm_flags & CM_SKIP) {
                         if (marker->cm_flags & CM_START) {
                                 printf("SKIP START ");
@@ -402,6 +414,5 @@ void print_records(struct llog_rec_hdr **recs, int rec_number)
                         printf("padding\n");
                 } else
                         printf("unknown type %x\n", lopt);
-
         }
 }