[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lustre-cvs
Subject:    [Lustre-cvs] CVS: obd/ext2obd ext2_obd.c,1.62,1.63
From:       "Peter J. Braam" <braam () users ! sourceforge ! net>
Date:       2001-10-19 9:07:14
[Download RAW message or body]

Update of /cvsroot/lustre/obd/ext2obd
In directory usw-pr-cvs1:/tmp/cvs-serv4061/ext2obd

Modified Files:
	ext2_obd.c 
Log Message:
fairly massive change to remove write_inode methods and switch
to setattr everywhere -- dbench 50 completes, so does bonnie++. 



Index: ext2_obd.c
===================================================================
RCS file: /cvsroot/lustre/obd/ext2obd/ext2_obd.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- ext2_obd.c	2001/10/19 05:17:34	1.62
+++ ext2_obd.c	2001/10/19 16:06:28	1.63
@@ -344,6 +344,7 @@
                                 oa->o_valid & OBD_MD_FLMODE ? oa->o_mode : S_IFREG);
         if (IS_ERR(inode)) {
                 oa->o_id = 0;
+		printk("create - fatal: err %d\n", PTR_ERR(inode));
                 return PTR_ERR(inode);
         }
 
@@ -402,11 +403,11 @@
 
         inode = iget(obddev->u.ext2.ext2_sb, oa->o_id);
         if (!inode || !inode->i_nlink || is_bad_inode(inode)) {
-                printk("fatal: invalid inode %ld (%s).\n",
+                printk("destroy - fatal: invalid inode %ld (%s).\n",
                        (long)oa->o_id, inode ? inode->i_nlink ? "bad inode" :
                        "no links" : "NULL");
                 if (inode)
-                        iput(inode);
+		      iput(inode);
                 EXIT;
                 return -ENOENT;
         }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic