diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2014-05-05 15:54:56 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2014-05-05 15:54:56 (GMT) |
commit | acff290b9458ec8fd24ce16dac2bb3e66a818105 (patch) | |
tree | 7e65919f3ab5708613f81333a3a2c67041b81353 | |
parent | 3f5886da9f2eca2c0b6a3f47fd7190a87e151ee0 (diff) | |
download | hdf5-acff290b9458ec8fd24ce16dac2bb3e66a818105.zip hdf5-acff290b9458ec8fd24ce16dac2bb3e66a818105.tar.gz hdf5-acff290b9458ec8fd24ce16dac2bb3e66a818105.tar.bz2 |
[svn-r25161] Removed some C++-style comments from H5FDcore.c.
Tested on:
32-bit LE linux (jam)
Tested with HDF5_DRIVER set to "core_paged".
-rw-r--r-- | src/H5FDcore.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c index ee3a40e..d1d4337 100644 --- a/src/H5FDcore.c +++ b/src/H5FDcore.c @@ -105,9 +105,6 @@ typedef struct H5FD_core_fapl_t { /* Allocate memory in multiples of this size by default */ #define H5FD_CORE_INCREMENT 8192 -/* Define the block size for aggregation */ -//#define H5FD_CORE_BLOCK_SIZE 524288 /* 512 K */ - /* These macros check for overflow of various quantities. These macros * assume that file_offset_t is signed and haddr_t and size_t are unsigned. * @@ -223,9 +220,6 @@ H5FD_core_add_dirty_region(H5FD_core_t *file, haddr_t start, haddr_t end) fprintf(stderr, "Add region: (%llu, %llu)\n", start, end); #endif -// /* Adjust the dirty region to the nearest block boundaries */ -// if(start % H5FD_CORE_BLOCK_SIZE != 0) { -// start = (start / H5FD_CORE_BLOCK_SIZE) * H5FD_CORE_BLOCK_SIZE; /* Adjust the dirty region to the nearest block boundaries */ if(start % file->bstore_page_size != 0) { start = (start / file->bstore_page_size) * file->bstore_page_size; @@ -233,8 +227,6 @@ fprintf(stderr, "Add region: (%llu, %llu)\n", start, end); was_adjusted = TRUE; #endif } -// if(end % H5FD_CORE_BLOCK_SIZE != (H5FD_CORE_BLOCK_SIZE - 1)) { -// end = (((end / H5FD_CORE_BLOCK_SIZE) + 1) * H5FD_CORE_BLOCK_SIZE) - 1; if(end % file->bstore_page_size != (file->bstore_page_size - 1)) { end = (((end / file->bstore_page_size) + 1) * file->bstore_page_size) - 1; if(end > file->eof){ |