diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-11 17:28:42 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-11 17:28:42 (GMT) |
commit | 35fc6fe082905ddb1b6bad3083d70926e75092bf (patch) | |
tree | eda12e6c57a454f130b6ff8a8cc3354a49eec7ea /src/H5FSstat.c | |
parent | 445fec27e1ce7840ddfde975fa822678a507bb20 (diff) | |
download | hdf5-35fc6fe082905ddb1b6bad3083d70926e75092bf.zip hdf5-35fc6fe082905ddb1b6bad3083d70926e75092bf.tar.gz hdf5-35fc6fe082905ddb1b6bad3083d70926e75092bf.tar.bz2 |
[svn-r17325] Description:
Bring r17324 from trunk to 1.8 branch:
Bring more improvements/changes back from file_free_space branch
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
(h5committest performed on trunk)
Diffstat (limited to 'src/H5FSstat.c')
-rw-r--r-- | src/H5FSstat.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/H5FSstat.c b/src/H5FSstat.c index 7b2cb0d..18635c1 100644 --- a/src/H5FSstat.c +++ b/src/H5FSstat.c @@ -82,7 +82,7 @@ *------------------------------------------------------------------------- */ herr_t -H5FS_stat_info(const H5FS_t *frsp, H5FS_stat_t *stats) +H5FS_stat_info(const H5F_t *f, const H5FS_t *frsp, H5FS_stat_t *stats) { FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5FS_stat_info) @@ -95,7 +95,11 @@ H5FS_stat_info(const H5FS_t *frsp, H5FS_stat_t *stats) stats->tot_sect_count = frsp->tot_sect_count; stats->serial_sect_count = frsp->serial_sect_count; stats->ghost_sect_count = frsp->ghost_sect_count; - /* can add more metadata statistics for the free-space manager */ + stats->addr = frsp->addr; + stats->hdr_size = H5FS_HEADER_SIZE(f); + stats->sect_addr = frsp->sect_addr; + stats->alloc_sect_size = frsp->alloc_sect_size; + stats->sect_size = frsp->sect_size; FUNC_LEAVE_NOAPI(SUCCEED) } /* H5FS_stat_info() */ |