summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-12-09 21:30:17 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-12-09 21:30:17 (GMT)
commit0f33e41541352b2e5cc7053d750a16dfa3e8e2ff (patch)
tree8e2f4d54aa37f24a725ec43eec40a29bc18e14ca /test
parentc8f533cfc33ac743227cbed8eba361c715a2976f (diff)
downloadhdf5-0f33e41541352b2e5cc7053d750a16dfa3e8e2ff.zip
hdf5-0f33e41541352b2e5cc7053d750a16dfa3e8e2ff.tar.gz
hdf5-0f33e41541352b2e5cc7053d750a16dfa3e8e2ff.tar.bz2
Don't see a 1GB threshold for tracking free filespace, that workaround for VFD
SWMR was never 100% effective, and now that there is a delay line on filespace frees, it is not necesesary.
Diffstat (limited to 'test')
-rw-r--r--test/vfd_swmr.c2
-rw-r--r--test/vfd_swmr_generator.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd_swmr.c b/test/vfd_swmr.c
index b5f43a9..fc517d2 100644
--- a/test/vfd_swmr.c
+++ b/test/vfd_swmr.c
@@ -286,7 +286,7 @@ test_file_fapl(void)
FAIL_STACK_ERROR
/* Set file space strategy */
- if(H5Pset_file_space_strategy(fcpl, H5F_FSPACE_STRATEGY_PAGE, FALSE, (hsize_t)1024 * 1024 * 1024) < 0)
+ if(H5Pset_file_space_strategy(fcpl, H5F_FSPACE_STRATEGY_PAGE, FALSE, 1) < 0)
FAIL_STACK_ERROR;
/* Should fail to create: no page buffering */
diff --git a/test/vfd_swmr_generator.c b/test/vfd_swmr_generator.c
index 243def8..2bf8620 100644
--- a/test/vfd_swmr_generator.c
+++ b/test/vfd_swmr_generator.c
@@ -148,7 +148,7 @@ gen_skeleton(const char *filename, hbool_t verbose, hbool_t vfd_swmr_write,
if(vfd_swmr_write) {
/* Set file space strategy to paged aggregation in fcpl */
- if(H5Pset_file_space_strategy(fcpl, H5F_FSPACE_STRATEGY_PAGE, FALSE, 1024 * 1024 * 1024) < 0)
+ if(H5Pset_file_space_strategy(fcpl, H5F_FSPACE_STRATEGY_PAGE, FALSE, 1) < 0)
return -1;
/* Enable page buffering in fapl */