summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-05-20 12:27:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-05-20 12:27:02 (GMT)
commit00aa7f1d8a39d900e90e1f68a58c7bce7eb3b113 (patch)
tree02ffa1aa09dd35b032c0b2ff220a57257533f5b7 /testpar
parentd41b5be368dbfc9298fdae92ec4aa752593915b8 (diff)
downloadhdf5-00aa7f1d8a39d900e90e1f68a58c7bce7eb3b113.zip
hdf5-00aa7f1d8a39d900e90e1f68a58c7bce7eb3b113.tar.gz
hdf5-00aa7f1d8a39d900e90e1f68a58c7bce7eb3b113.tar.bz2
[svn-r18864] Description:
General cleanups to align metadata journaling branch and trunk Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.3 (amazon) in debug mode Mac OS X/32 10.6.3 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_cache.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index 8d6b546..b80730b 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -3589,8 +3589,7 @@ unlock_entry(H5C_t * cache_ptr,
}
result = H5AC_unprotect(file_ptr, H5P_DATASET_XFER_DEFAULT, &(types[0]),
- entry_ptr->base_addr,
- (void *)(&(entry_ptr->header)), flags);
+ entry_ptr->base_addr, (void *)(&(entry_ptr->header)), flags);
if ( ( result < 0 ) ||
( entry_ptr->header.type != &(types[0]) ) ||
@@ -4230,7 +4229,7 @@ smoke_check_2(void)
/* we can't move pinned entries, so release any local pins now. */
local_unpin_all_entries(cache_ptr, file_ptr, FALSE);
- /* move the first half of the entries... */
+ /* Move the first half of the entries... */
for ( i = 0; i < (virt_num_data_entries / 2); i++ )
{
lock_entry(cache_ptr, file_ptr, i);
@@ -5173,10 +5172,7 @@ smoke_check_5(void)
resize_entry(i, data[i].len / 2);
}
- if ( i % 4 == 0 )
- mark_entry_dirty(cache_ptr, file_ptr, i);
- else
- mark_entry_dirty(cache_ptr, file_ptr, i);
+ mark_entry_dirty(cache_ptr, file_ptr, i);
if ( i % 8 <= 4 ) {