[Pvfs2-cvs] commit by pcarns in pvfs2-1/src/io/trove/trove-dbpf: dbpf-bstream-direct.c dbpf-bstream.c

CVS commit program cvs at parl.clemson.edu
Thu Dec 11 12:05:43 EST 2008


Update of /projects/cvsroot/pvfs2-1/src/io/trove/trove-dbpf
In directory parlweb1:/tmp/cvs-serv9814

Modified Files:
	dbpf-bstream-direct.c dbpf-bstream.c 
Log Message:
copying comment over so I don't confuse myself again


Index: dbpf-bstream-direct.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/io/trove/trove-dbpf/dbpf-bstream-direct.c,v
diff -p -u -r1.7 -r1.8
--- dbpf-bstream-direct.c	11 Dec 2008 15:37:57 -0000	1.7
+++ dbpf-bstream-direct.c	11 Dec 2008 17:05:43 -0000	1.8
@@ -858,7 +858,11 @@ static int dbpf_bstream_direct_write_op_
 
             dbpf_open_cache_put(&rw_op->open_ref);
 
-            /* We want to hit the coalesce path, so we queue up the setattr */
+            /* If we updated the size, then convert cur_op into a setattr.
+             * Note that we are not actually going to perform a setattr.
+             * We just want the coalescing path to treat it like a setattr
+             * so that the size update is synced before we complete.
+             */
             dbpf_queued_op_init(qop_p,
                                 DSPACE_SETATTR,
                                 ref.handle,

Index: dbpf-bstream.c
===================================================================
RCS file: /projects/cvsroot/pvfs2-1/src/io/trove/trove-dbpf/dbpf-bstream.c,v
diff -p -u -r1.88 -r1.89
--- dbpf-bstream.c	11 Dec 2008 16:40:17 -0000	1.88
+++ dbpf-bstream.c	11 Dec 2008 17:05:43 -0000	1.89
@@ -207,7 +207,7 @@ error_in_cleanup:
             gossip_debug(GOSSIP_TROVE_DEBUG, 
                 "aio updating size for handle %llu\n", llu(ref.handle));
 
-            /* if we updated the size, then convert cur_op into a setattr.
+            /* If we updated the size, then convert cur_op into a setattr.
              * Note that we are not actually going to perform a setattr.
              * We just want the coalescing path to treat it like a setattr
              * so that the size update is synced before we complete.



More information about the Pvfs2-cvs mailing list