[PVFS2-CVS] commit by neill in pvfs2/src/io/trove: trove-internal.h trove-proto.h

CVS commit program pvfs2-internal@beowulf-underground.org
Mon, 2 Feb 2004 17:50:25 -0500


Update of /projects/cvsroot/pvfs2/src/io/trove
In directory parlweb.parl.clemson.edu:/tmp/cvs-serv21560/src/io/trove

Modified Files:
	trove-internal.h trove-proto.h 
Log Message:
- first cut at supporting threaded-aio trove cancellation
- we now better handle errors by reporting them if they occur in any of
  the requests issued
- added a simple test-trove-cancel program as a sanity check
- misc cleanups


Index: trove-internal.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/trove/trove-internal.h,v
diff -p -u -r1.19 -r1.20
--- trove-internal.h	5 Sep 2003 15:02:07 -0000	1.19
+++ trove-internal.h	2 Feb 2004 22:50:25 -0000	1.20
@@ -263,6 +263,11 @@ struct TROVE_dspace_ops
 			  TROVE_context_id context_id,
 			  TROVE_op_id *out_op_id_p);
     
+    int (*dspace_cancel)(
+		       TROVE_coll_id coll_id,
+		       TROVE_op_id ds_id,
+		       TROVE_context_id context_id);
+
     int (*dspace_test)(
 		       TROVE_coll_id coll_id,
 		       TROVE_op_id ds_id,

Index: trove-proto.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/trove/trove-proto.h,v
diff -p -u -r1.12 -r1.13
--- trove-proto.h	5 Sep 2003 15:02:07 -0000	1.12
+++ trove-proto.h	2 Feb 2004 22:50:25 -0000	1.13
@@ -298,6 +298,9 @@ int trove_dspace_setattr(TROVE_coll_id c
 			 TROVE_context_id context_id,
 			 TROVE_op_id *out_op_id_p);
 
+int trove_dspace_cancel(TROVE_coll_id coll_id,
+                        TROVE_op_id id,
+                        TROVE_context_id context_id);
 
 int trove_dspace_test(TROVE_coll_id coll_id,
 		      TROVE_op_id id,