[PVFS2-CVS]
commit by neill in pvfs2/src/io/trove/trove-dbpf: dbpf-bstream.c
CVS commit program
cvs at parl.clemson.edu
Tue Feb 10 16:53:12 EST 2004
Update of /projects/cvsroot/pvfs2/src/io/trove/trove-dbpf
In directory parlweb:/tmp/cvs-serv1601/trove-dbpf
Modified Files:
dbpf-bstream.c
Log Message:
- prototype cleanups
- aio_callback related: adding gossip of i/o submission and modified
completion output
Index: dbpf-bstream.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/trove/trove-dbpf/dbpf-bstream.c,v
diff -p -u -r1.30 -r1.31
--- dbpf-bstream.c 2 Feb 2004 22:50:25 -0000 1.30
+++ dbpf-bstream.c 10 Feb 2004 21:53:12 -0000 1.31
@@ -79,7 +79,7 @@ static void aio_progress_notification(si
assert(op_p);
gossip_debug(
- GOSSIP_TROVE_DEBUG,"aio_progress_notification called "
+ GOSSIP_TROVE_DEBUG," --- aio_progress_notification called "
"with %p (handle %Lu)\n", sig.sival_ptr, Lu(op_p->handle));
aiocb_p = op_p->u.b_rw_list.aiocb_array;
@@ -109,10 +109,9 @@ static void aio_progress_notification(si
{
/* aio_return gets the return value of the individual op */
ret = aio_return(&aiocb_p[i]);
-#if 0
+
gossip_debug(GOSSIP_TROVE_DEBUG,
" aio_return() says %d\n", ret);
-#endif
/* mark as a NOP so we ignore it from now on */
aiocb_p[i].aio_lio_opcode = LIO_NOP;
@@ -892,6 +891,9 @@ static inline int dbpf_bstream_rw_list(T
dbpf_bstream_fdcache_put(op_p->coll_p->coll_id, handle);
return -trove_errno_to_trove_error(errno);
}
+ gossip_debug(GOSSIP_TROVE_DEBUG, " +++ lio_listio posted %p "
+ "(handle %Lu) and returned %d\n", q_op_p,
+ Lu(handle), ret);
#endif
return 0;
More information about the PVFS2-CVS
mailing list