diff options
author | David Young <dyoung@hdfgroup.org> | 2020-04-07 15:39:33 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-04-07 15:39:33 (GMT) |
commit | 7b83633d5efa18746fc842ef755b25c09c3fcf38 (patch) | |
tree | 8023130f42b6bda5b9122619f38f78dc0d0c4722 /test/tconfig.c | |
parent | 46832e59ecd74fac0cddf32ae32f2c75a6e2565f (diff) | |
download | hdf5-7b83633d5efa18746fc842ef755b25c09c3fcf38.zip hdf5-7b83633d5efa18746fc842ef755b25c09c3fcf38.tar.gz hdf5-7b83633d5efa18746fc842ef755b25c09c3fcf38.tar.bz2 |
Simplify H5PB_vfd_swmr__update_index(), which figures in
my investigation of shadow-file freespace leaks.
Copy the tick number from the H5F_shared_t to a temporary variable
and use the temporary instead of spelling out `shared->tick_num`.
Assert that every entry on the tick list is dirty, since clean
entries will not appear on the tick list. Mark each corresponding
shadow-index entry dirty, and set its "tick of last change" to the
current tick and "tick of last flush" to 0. This makes the scan
for entries that do not appear on the tick list more believable.
Lower staircase in the loop that scans for shadow-index entries that
did not appear on the tick list. Log indicies that are marked for
reclamation.
Diffstat (limited to 'test/tconfig.c')
0 files changed, 0 insertions, 0 deletions