summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_copy.c
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2013-03-27 15:10:25 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2013-03-27 15:10:25 (GMT)
commit91c30cdc2ff8b865f56944b427236a00895fb7fb (patch)
treebdb1f88215dcfcc36f9032fbad036ab30e787171 /tools/h5repack/h5repack_copy.c
parenta605e303e95d7c254b428f420900f5e6c958edd4 (diff)
downloadhdf5-91c30cdc2ff8b865f56944b427236a00895fb7fb.zip
hdf5-91c30cdc2ff8b865f56944b427236a00895fb7fb.tar.gz
hdf5-91c30cdc2ff8b865f56944b427236a00895fb7fb.tar.bz2
[svn-r23464] Purpose:
HDFFV-8214 - h5repack failed converting small chunked dataset (size < 1K) to contiguous layout. Description: h5repack failed converting small chunked dataset (size < 1K) to contiguous layout. The first case was when chunk dim is bigger than the dataset dim (at leat one), h5repack failed with displaying error stacks. The other case is when chunk dim is smaller than the dataset dim, h5repack failed to change layout. Merged from HDF5 trunk 23407 Tested: jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), emu (solaris-BE), fred (mac64-LE), Windows (32-LE cmake), cmake (jam)
Diffstat (limited to 'tools/h5repack/h5repack_copy.c')
-rw-r--r--tools/h5repack/h5repack_copy.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c
index cfd542a..03eefcf 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -976,16 +976,6 @@ int do_copy_objects(hid_t fidin,
/* get the storage size of the input dataset */
dsize_in=H5Dget_storage_size(dset_in);
- /* check for small size datasets (less than 1k) except
- * changing to COMPACT. For the reference, COMPACT is limited
- * by size 64K by library.
- */
- if (options->layout_g != H5D_COMPACT)
- {
- if ( size_dset < options->min_comp )
- apply_s=0;
- }
-
/* apply the filter */
if (apply_s)
{