Whamcloud - gitweb
- commented ->delete_inode for a while
authoralex <alex>
Mon, 28 Jun 2004 11:04:20 +0000 (11:04 +0000)
committeralex <alex>
Mon, 28 Jun 2004 11:04:20 +0000 (11:04 +0000)
- additional debug message

lustre/llite/super.c
lustre/mds/mds_reint.c

index 13dd060..87fd9b6 100644 (file)
@@ -79,7 +79,10 @@ struct super_operations lustre_super_operations =
 {
         .read_inode2    = ll_read_inode2,
         .clear_inode    = ll_clear_inode,
+#if 0
+        /* should be fixed first */
         .delete_inode   = ll_delete_inode,
+#endif
         .put_super      = lustre_put_super,
         .statfs         = ll_statfs,
         .umount_begin   = ll_umount_begin,
index 870ce10..20486d6 100644 (file)
@@ -627,9 +627,12 @@ static int mds_reint_create(struct mds_update_record *rec, int offset,
                 if ((rc = mds_try_to_split_dir(obd, dparent, &mea, 0))) {
                         if (rc > 0) {
                                 /* dir got splitted */
-                                CERROR("%s: splitted %lu/%u - %d\n",
+                                CERROR("%s: splitted %lu/%u - %d/%d\n",
                                        obd->obd_name, dparent->d_inode->i_ino,
-                                       dparent->d_inode->i_generation, rc);
+                                       dparent->d_inode->i_generation, rc,
+                                       parent_mode);
+                                CERROR("  creation %*s was requested\n",
+                                       rec->ur_namelen - 1, rec->ur_name);
                                 GOTO(cleanup, rc = -ERESTART);
                         } else {
                                 /* error happened during spitting. */