[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/client/sysint: sys-io.sm
CVS commit program
cvs at parl.clemson.edu
Fri Feb 29 10:53:21 EST 2008
Update of /projects/cvsroot/pvfs2-1/src/client/sysint
In directory parlweb1:/tmp/cvs-serv13285/src/client/sysint
Modified Files:
Tag: small-file-branch
sys-io.sm
Log Message:
some tweaks towards acache cooperation with the UNSTUFFED mask. Also
realized that I should _not_ cache the stuffed size after an unstuff
operation
Index: sys-io.sm
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/client/sysint/sys-io.sm,v
diff -p -u -r1.159.2.5 -r1.159.2.6
--- sys-io.sm 29 Feb 2008 15:37:20 -0000 1.159.2.5
+++ sys-io.sm 29 Feb 2008 15:53:21 -0000 1.159.2.6
@@ -2933,7 +2933,6 @@ static int unstuff_comp_fn(
{
PINT_smcb *smcb = v_p;
PINT_client_sm *sm_p = PINT_sm_frame(smcb, PINT_FRAME_CURRENT);
- PVFS_size tmp_size = 0;
gossip_debug(GOSSIP_IO_DEBUG,
"unstuff completion fn: unstuff_comp_fn\n");
@@ -2950,14 +2949,10 @@ static int unstuff_comp_fn(
}
assert(resp_p->op == PVFS_SERV_UNSTUFF);
-
- /* stuffed size is not the same integer type as PVFS_size, convert here */
- tmp_size += resp_p->u.unstuff.attr.u.meta.stuffed_size;
- /* TODO: don't I need to convert something here? */
PINT_acache_update(sm_p->object_ref,
&resp_p->u.unstuff.attr,
- &tmp_size);
+ NULL);
return(0);
}
More information about the Pvfs2-cvs
mailing list