[PVFS2-CVS]
commit by rbross in pvfs2/src/io/job: job.h thread-mgr.c
thread-mgr.h
CVS commit program
cvs at parl.clemson.edu
Mon Feb 16 16:22:43 EST 2004
Update of /projects/cvsroot/pvfs2/src/io/job
In directory parlweb:/tmp/cvs-serv32348/src/io/job
Modified Files:
job.h thread-mgr.c thread-mgr.h
Log Message:
combo PVFS_id_gen_t -> PVFS_BMI_addr_t, formatting, PVFS error code patch.
Ugly. Sorry if my formatting pisses someone off; at least I'm not using >
80 columns any more :).
Index: job.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/job/job.h,v
diff -p -u -r1.37 -r1.38
--- job.h 10 Feb 2004 22:10:45 -0000 1.37
+++ job.h 16 Feb 2004 21:22:43 -0000 1.38
@@ -130,35 +130,35 @@ int job_bmi_cancel(job_id_t * id,
/* unexpected device receive */
int job_dev_unexp(struct PINT_dev_unexp_info* dev_unexp_d,
- void* user_ptr,
- job_aint status_user_tag,
- job_status_s * out_status_p,
- job_id_t* id,
- job_context_id context_id);
+ void* user_ptr,
+ job_aint status_user_tag,
+ job_status_s * out_status_p,
+ job_id_t* id,
+ job_context_id context_id);
/* device write */
int job_dev_write(void* buffer,
- int size,
- PVFS_id_gen_t tag,
- enum PINT_dev_buffer_type buffer_type,
- void* user_ptr,
- job_aint status_user_tag,
- job_status_s * out_status_p,
- job_id_t * id,
- job_context_id context_id);
+ int size,
+ PVFS_id_gen_t tag,
+ enum PINT_dev_buffer_type buffer_type,
+ void* user_ptr,
+ job_aint status_user_tag,
+ job_status_s * out_status_p,
+ job_id_t * id,
+ job_context_id context_id);
/* device write list */
int job_dev_write_list(void** buffer_list,
- int* size_list,
- int list_count,
- int total_size,
- PVFS_id_gen_t tag,
- enum PINT_dev_buffer_type buffer_type,
- void* user_ptr,
- job_aint status_user_tag,
- job_status_s* out_status_p,
- job_id_t* id,
- job_context_id context_id);
+ int* size_list,
+ int list_count,
+ int total_size,
+ PVFS_id_gen_t tag,
+ enum PINT_dev_buffer_type buffer_type,
+ void* user_ptr,
+ job_aint status_user_tag,
+ job_status_s* out_status_p,
+ job_id_t* id,
+ job_context_id context_id);
/* request scheduler post */
int job_req_sched_post(struct PVFS_server_req *in_request,
@@ -378,16 +378,16 @@ int job_trove_keyval_iterate_keys(PVFS_f
/* iterates through all handles in a collection */
int job_trove_dspace_iterate_handles(PVFS_fs_id coll_id,
- PVFS_ds_position position,
- PVFS_handle* handle_array,
- int count,
- PVFS_ds_flags flags,
- PVFS_vtag* vtag,
- void* user_ptr,
- job_aint status_user_tag,
- job_status_s* out_status_p,
- job_id_t* id,
- job_context_id context_id);
+ PVFS_ds_position position,
+ PVFS_handle* handle_array,
+ int count,
+ PVFS_ds_flags flags,
+ PVFS_vtag* vtag,
+ void* user_ptr,
+ job_aint status_user_tag,
+ job_status_s* out_status_p,
+ job_id_t* id,
+ job_context_id context_id);
/* create a new data space object */
int job_trove_dspace_create(PVFS_fs_id coll_id,
Index: thread-mgr.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/job/thread-mgr.c,v
diff -p -u -r1.14 -r1.15
--- thread-mgr.c 14 Feb 2004 20:46:44 -0000 1.14
+++ thread-mgr.c 16 Feb 2004 21:22:43 -0000 1.15
@@ -597,8 +597,9 @@ int PINT_thread_mgr_trove_getcontext(PVF
*
* returns 0 on success, -PVFS_error on failure
*/
-int PINT_thread_mgr_trove_cancel(PVFS_id_gen_t id, PVFS_fs_id fs_id,
- void* user_ptr)
+int PINT_thread_mgr_trove_cancel(PVFS_id_gen_t id,
+ PVFS_fs_id fs_id,
+ void* user_ptr)
{
int i;
int ret;
Index: thread-mgr.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/job/thread-mgr.h,v
diff -p -u -r1.6 -r1.7
--- thread-mgr.h 12 Feb 2004 20:23:56 -0000 1.6
+++ thread-mgr.h 16 Feb 2004 21:22:43 -0000 1.7
@@ -37,8 +37,9 @@ struct PINT_thread_mgr_trove_callback
int PINT_thread_mgr_trove_start(void);
int PINT_thread_mgr_trove_stop(void);
int PINT_thread_mgr_trove_getcontext(PVFS_context_id *context);
-int PINT_thread_mgr_trove_cancel(PVFS_id_gen_t id, PVFS_fs_id fs_id,
- void* user_ptr);
+int PINT_thread_mgr_trove_cancel(PVFS_id_gen_t id,
+ PVFS_fs_id fs_id,
+ void* user_ptr);
/* dev thread */
More information about the PVFS2-CVS
mailing list