[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #FEE-497418]: NCIO_MAXBLOCKSIZE bug
- Subject: [netCDF #FEE-497418]: NCIO_MAXBLOCKSIZE bug
- Date: Thu, 01 Jul 2010 16:15:23 -0600
Hi Harald,
> there has been a bug in libsrc/posixio.c for a long time which
> manifests itself when providing a sizehint which is larger than
> the hardcoded value of NCIO_MAXBLOCKSIZE. In that case, for
> Netcdf-3 files, it falls back to using the default blocksize
> (which may be poor on some systems) instead of using the maximum
> size. This really bites us for classic files larger 256 MB.
>
> The attached patch fixes this behavior and allows to redefine
> NCIO_MAXBLOCKSIZE during compilation.
I've tested your bug fix in our current development sources, and it
works fine on tested platforms. It should be in the next release.
Thanks for contributing this!
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: FEE-497418
Department: Support netCDF
Priority: High
Status: Closed