diff options
author | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2022-01-04 23:26:18 (GMT) |
---|---|---|
committer | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2022-01-04 23:26:18 (GMT) |
commit | 2262a246893afa784544e8fd0946061eed203202 (patch) | |
tree | 64db9807852db8bf60016332622b004ee2f74c7e | |
parent | b12565b8151eae7c97f1a3cb2ed05e9c30cf6cf6 (diff) | |
parent | 2d6db3afdcce83beff7b62237c873fde85a7ba6a (diff) | |
download | hdf5-2262a246893afa784544e8fd0946061eed203202.zip hdf5-2262a246893afa784544e8fd0946061eed203202.tar.gz hdf5-2262a246893afa784544e8fd0946061eed203202.tar.bz2 |
Merge branch 'group_tests_issues' of https://github.com/vchoi-hdfgroup/hdf5 into group_tests_issues
-rw-r--r-- | src/H5AC.c | 2 | ||||
-rw-r--r-- | src/H5Fvfd_swmr.c | 12 |
2 files changed, 7 insertions, 7 deletions
@@ -2799,7 +2799,7 @@ H5AC_set_vfd_swmr_reader(H5AC_t *cache_ptr, hbool_t vfd_swmr_reader, hsize_t pag /* Sanity checks */ HDassert(cache_ptr); - if(cache_ptr->page_size != page_size) { + if (cache_ptr->page_size != page_size) { if (H5C_set_vfd_swmr_reader((H5C_t *)cache_ptr, vfd_swmr_reader, page_size) < 0) HGOTO_ERROR(H5E_CACHE, H5E_CANTSET, FAIL, "can't set page_size for VFD SWMR reader") diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c index e25b529..a9e6728 100644 --- a/src/H5Fvfd_swmr.c +++ b/src/H5Fvfd_swmr.c @@ -255,14 +255,14 @@ H5F_vfd_swmr_init(H5F_t *f, hbool_t file_create) HDassert(shared->fs_page_size > 0); /* This is a bug uncovered by issue #3 of the group test failures. * See Kent's documentation "Designed to Fail Tests and Issues". - * The file opening process in H5F__new() initializes the cache copy of - * page_size via H5AC_create(). However, later on H5F__super_read() - * may change page size due to non-default setting of + * The file opening process in H5F__new() initializes the cache copy of + * page_size via H5AC_create(). However, later on H5F__super_read() + * may change page size due to non-default setting of * 'free-space manager info' in superblock extension. - * Fix: set the cache copy of page_size again if different from + * Fix: set the cache copy of page_size again if different from * f->shared->fs_page_size. */ - if(shared->cache) { + if (shared->cache) { if (H5AC_set_vfd_swmr_reader(shared->cache, TRUE, shared->fs_page_size) < 0) HGOTO_ERROR(H5E_CACHE, H5E_CANTSET, FAIL, "can't set page size in cache for VFD SWMR reader"); } @@ -1305,7 +1305,7 @@ H5F_vfd_swmr_reader_end_of_tick(H5F_t *f, hbool_t entering_api) #if 0 /*Kent*/ HDassert(oent->length == nent->length); #endif - /* This is a bug uncovered by issue #1 of the + /* This is a bug uncovered by issue #1 of the * group test failures. See Kent's documentation * "Designed to Fail Tests and Issues". * nent->length can be <, =, > to oent->length. |