summaryrefslogtreecommitdiffstats
path: root/vms
diff options
context:
space:
mode:
authorJohn Mainzer <mainzer@hdfgroup.org>2009-02-06 19:41:28 (GMT)
committerJohn Mainzer <mainzer@hdfgroup.org>2009-02-06 19:41:28 (GMT)
commitcf6842099c43db1c0d185ee1191ab62131546ea4 (patch)
tree4adf0f6026d2ab9905d1719284ea27130540db03 /vms
parentbd3565d4487bf3b20d2cdd16b762f8561ffc9d1e (diff)
downloadhdf5-cf6842099c43db1c0d185ee1191ab62131546ea4.zip
hdf5-cf6842099c43db1c0d185ee1191ab62131546ea4.tar.gz
hdf5-cf6842099c43db1c0d185ee1191ab62131546ea4.tar.bz2
[svn-r16452] Repaired intermittant failure of the t_cache test in testpar.
The failure was caused by some over active sanity checking code in unlock_entry(). In essence the code did not consider the possibility that under certain, very unusual circumstances, an entry could be flushed to disk during the H5AC_unprotect() call. Instead, it simply failed if a dirty entry was marked clean after the call to H5AC_unprotect(). This bug in the test code was exposed by recent changes to the default cache configuration made as part of the "metadata blizard" bug fix. Fixed the bug by adding code to detect when an entry is flushed during the call to H5AC_unprotect(), and not trigger a failure if a dirty entry is marked clean after a call to H5AC_unprotect() if the entry has been flushed. In passing also found and fixed another test bug in which expunged entries were erroneously marked as dirty in the test code's independant register of entry status. Tested parallel on Phoenix (AMD64 Linux) and Jam. No further testing, as the fix was tested extensively prior to checkin on the 1.9 branch.
Diffstat (limited to 'vms')
0 files changed, 0 insertions, 0 deletions