[Pvfs2-cvs] commit by kunkel in pvfs2/src/io/buffer: ncac-job.c ncac-locks.h internal.h

CVS commit program cvs at parl.clemson.edu
Wed May 23 16:48:19 EDT 2007


Update of /projects/cvsroot/pvfs2/src/io/buffer
In directory parlweb1:/tmp/cvs-serv20193/src/io/buffer

Modified Files:
      Tag: pvfs2-kunkel-tas-branch
	ncac-job.c ncac-locks.h internal.h 
Log Message:
Merge HEAD changes to TAS-branch.


Index: ncac-job.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/buffer/ncac-job.c,v
diff -p -u -r1.10 -r1.10.22.1
--- ncac-job.c	27 May 2006 23:49:30 -0000	1.10
+++ ncac-job.c	23 May 2007 20:48:19 -0000	1.10.22.1
@@ -53,7 +53,7 @@ static inline int add_extent_to_cache(st
 
 int NCAC_do_a_read_job(struct NCAC_req *ncac_req)
 {
-	int ret;
+    int ret;
     struct extent **cbufhash;
     PVFS_offset *foff;
     int *cbufflag;

Index: ncac-locks.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/buffer/ncac-locks.h,v
diff -p -u -r1.1 -r1.1.58.1
--- ncac-locks.h	21 Aug 2003 18:57:27 -0000	1.1
+++ ncac-locks.h	23 May 2007 20:48:19 -0000	1.1.58.1
@@ -3,15 +3,15 @@
 
 #include "gen-locks.h"
 
-#define spin_lock_init(x)       gen_posix_mutex_init(x)
-#define cache_lock(x)           gen_posix_mutex_lock(x)
-#define cache_unlock(x)         gen_posix_mutex_unlock(x)
+#define spin_lock_init(x)       gen_mutex_init(x)
+#define cache_lock(x)           gen_mutex_lock(x)
+#define cache_unlock(x)         gen_mutex_unlock(x)
 
-#define inode_lock(x)           gen_posix_mutex_lock(x)
-#define inode_unlock(x)         gen_posix_mutex_unlock(x)
+#define inode_lock(x)           gen_mutex_lock(x)
+#define inode_unlock(x)         gen_mutex_unlock(x)
 
-#define list_lock(x)            gen_posix_mutex_lock(x)
-#define list_unlock(x)          gen_posix_mutex_unlock(x)
+#define list_lock(x)            gen_mutex_lock(x)
+#define list_unlock(x)          gen_mutex_unlock(x)
 
 #endif
 

Index: internal.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/io/buffer/internal.h,v
diff -p -u -r1.5 -r1.5.34.1
--- internal.h	14 Dec 2005 21:50:21 -0000	1.5
+++ internal.h	23 May 2007 20:48:19 -0000	1.5.34.1
@@ -15,7 +15,7 @@ typedef cache_desc_t NCAC_desc_t;
 typedef int          NCAC_optype;
 typedef cache_reply_t NCAC_reply_t;
 
-typedef pthread_mutex_t NCAC_lock;
+typedef gen_mutex_t NCAC_lock;
 
 struct NCAC_cache_info{
     int max_req_num;



More information about the Pvfs2-cvs mailing list