summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_remove_reader.c
diff options
context:
space:
mode:
authorvchoi <vchoi@jelly.ad.hdfgroup.org>2021-07-13 22:36:48 (GMT)
committervchoi <vchoi@jelly.ad.hdfgroup.org>2021-07-13 22:36:48 (GMT)
commit3d5c597c49a69af72bb8c58e0f4cc0636a8e1ece (patch)
treebc5bbfe1a7cc3ec609661ca616ed0cafad68ddd2 /test/vfd_swmr_remove_reader.c
parentfd014862f795dfdf5b50e4f63d34929625536cfe (diff)
downloadhdf5-3d5c597c49a69af72bb8c58e0f4cc0636a8e1ece.zip
hdf5-3d5c597c49a69af72bb8c58e0f4cc0636a8e1ece.tar.gz
hdf5-3d5c597c49a69af72bb8c58e0f4cc0636a8e1ece.tar.bz2
Modifications to common routines used by VFD SWMR tests:
(1) Add a parameter page_buf_size to the common routine vfd_swmr_create_fapl(). (2) Add a new common routine vfd_swmr_create_fcpl() to set the file space strategy and file space page size. VFD SWMR tests are modified accordingly to call the above routines.
Diffstat (limited to 'test/vfd_swmr_remove_reader.c')
-rw-r--r--test/vfd_swmr_remove_reader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd_swmr_remove_reader.c b/test/vfd_swmr_remove_reader.c
index a54404f..b729ee4 100644
--- a/test/vfd_swmr_remove_reader.c
+++ b/test/vfd_swmr_remove_reader.c
@@ -306,8 +306,8 @@ read_records(const char *filename, unsigned verbose, unsigned long nseconds, uns
/* config, tick_len, max_lag, writer, flush_raw_data, md_pages_reserved, md_file_path */
init_vfd_swmr_config(config, 4, 5, FALSE, FALSE, 128, "./rw-shadow");
- /* use_latest_format, use_vfd_swmr, only_meta_page, config */
- if ((fapl = vfd_swmr_create_fapl(FALSE, TRUE, FALSE, config)) < 0) {
+ /* use_latest_format, use_vfd_swmr, only_meta_page, page_buf_size, config */
+ if ((fapl = vfd_swmr_create_fapl(FALSE, TRUE, FALSE, 4096, config)) < 0) {
HDfprintf(stderr, "%s.%d: vfd_swmr_create_fapl failed\n", __func__, __LINE__);
goto error;
}