diff options
author | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2021-07-13 22:36:48 (GMT) |
---|---|---|
committer | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2021-07-13 22:36:48 (GMT) |
commit | 3d5c597c49a69af72bb8c58e0f4cc0636a8e1ece (patch) | |
tree | bc5bbfe1a7cc3ec609661ca616ed0cafad68ddd2 /test/vfd_swmr_reader.c | |
parent | fd014862f795dfdf5b50e4f63d34929625536cfe (diff) | |
download | hdf5-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_reader.c')
-rw-r--r-- | test/vfd_swmr_reader.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd_swmr_reader.c b/test/vfd_swmr_reader.c index bd29f54..cc4d918 100644 --- a/test/vfd_swmr_reader.c +++ b/test/vfd_swmr_reader.c @@ -322,8 +322,8 @@ read_records(const char *filename, hbool_t verbose, FILE *verbose_file, unsigned /* 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; } |