[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/server: get-attr.sm
CVS commit program
cvs at parl.clemson.edu
Thu Feb 28 15:33:41 EST 2008
Update of /projects/cvsroot/pvfs2-1/src/server
In directory parlweb1:/tmp/cvs-serv26358
Modified Files:
Tag: small-file-branch
get-attr.sm
Log Message:
debugging messages to record what type of file getattr is hitting
Index: get-attr.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/server/get-attr.sm,v
diff -p -u -r1.87.6.4 -r1.87.6.5
--- get-attr.sm 28 Feb 2008 20:27:52 -0000 1.87.6.4
+++ get-attr.sm 28 Feb 2008 20:33:41 -0000 1.87.6.5
@@ -697,6 +697,8 @@ static PINT_sm_action getattr_read_stuff
if(js_p->error_code == -TROVE_ENOENT)
{
+ gossip_debug(
+ GOSSIP_GETATTR_DEBUG, "Getattr detected non-stuffed file.\n");
/* this means that the keyval fields used to indicate a file is
* stuffed are not present. Clear mask accordingly and continue.
*/
@@ -705,6 +707,8 @@ static PINT_sm_action getattr_read_stuff
return SM_ACTION_COMPLETE;
}
+ gossip_debug(
+ GOSSIP_GETATTR_DEBUG, "Getattr detected stuffed file.\n");
/* otherwise, we found keyval fields indicating that the file is
* stuffed. It does not matter if the client asked for the size or not;
* we must retrieve a valid stuffed_size value for the attrs.
More information about the Pvfs2-cvs
mailing list