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_remove_writer.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_remove_writer.c')
-rw-r--r-- | test/vfd_swmr_remove_writer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd_swmr_remove_writer.c b/test/vfd_swmr_remove_writer.c index fb1fc69..b8b1303 100644 --- a/test/vfd_swmr_remove_writer.c +++ b/test/vfd_swmr_remove_writer.c @@ -89,8 +89,8 @@ open_skeleton(const char *filename, unsigned verbose, unsigned old H5_ATTR_UNUSE /* config, tick_len, max_lag, writer, flush_raw_data, md_pages_reserved, md_file_path */ init_vfd_swmr_config(config, 4, 5, TRUE, FALSE, 128, "./rw-shadow"); - /* use_latest_format, use_vfd_swmr, only_meta_page, config */ - if ((fapl = vfd_swmr_create_fapl(TRUE, TRUE, FALSE, config)) < 0) + /* use_latest_format, use_vfd_swmr, only_meta_page, page_buf_size, config */ + if ((fapl = vfd_swmr_create_fapl(TRUE, TRUE, FALSE, 4096, config)) < 0) goto error; /* Open the file */ |