mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-27 08:01:04 +08:00
[svn-r25661] Update the default setting for the memb_addr array when use passes NULL to equally divide all the address space between all the members.
Before there was one chunk of the address space not being used. tested h5committest, and multi vfd make check on jam.
This commit is contained in:
parent
26400c392b
commit
ca6ffd477d
@ -491,7 +491,7 @@ H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map,
|
||||
}
|
||||
if (!memb_addr) {
|
||||
for (mt=H5FD_MEM_DEFAULT; mt<H5FD_MEM_NTYPES; mt=(H5FD_mem_t)(mt+1))
|
||||
_memb_addr[mt] = (hsize_t)(mt ? (mt - 1) : 0) * (HADDR_MAX / H5FD_MEM_NTYPES);
|
||||
_memb_addr[mt] = (hsize_t)(mt ? (mt - 1) : 0) * (HADDR_MAX / (H5FD_MEM_NTYPES-1));
|
||||
memb_addr = _memb_addr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user