summaryrefslogtreecommitdiffstats
path: root/src/H5Fprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2015-04-17 20:49:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2015-04-17 20:49:27 (GMT)
commit7bf3a426e8634c851d9c550fd980f07d3e29fc1b (patch)
tree4102bab36bd666a2caf3421e05a6e3b1b350220c /src/H5Fprivate.h
parentc6717e8134be832103cf777d3685d61d225b61c3 (diff)
downloadhdf5-7bf3a426e8634c851d9c550fd980f07d3e29fc1b.zip
hdf5-7bf3a426e8634c851d9c550fd980f07d3e29fc1b.tar.gz
hdf5-7bf3a426e8634c851d9c550fd980f07d3e29fc1b.tar.bz2
[svn-r26837] Description:
Separate allocating chunk on disk from inserting the chunk record into the index. This allows a "SWMR-safe" insert/update of chunks (the chunk is always allocated -> written -> inserted/updated in the index). Tested on: Mac OSX/64 10.10.2 (amazon) w/parallel & serial Linux/32 2.6.18 (jam) w/serial & parallel
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r--src/H5Fprivate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 4cd8c69..4e57a19 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -573,6 +573,12 @@ typedef struct H5F_io_info_t {
const struct H5P_genplist_t *dxpl; /* DXPL object */
} H5F_io_info_t;
+/* Concise info about a block of bytes in a file */
+typedef struct H5F_block_t {
+ haddr_t offset; /* Offset of the block in the file */
+ hsize_t length; /* Length of the block in the file */
+} H5F_block_t;
+
/*****************************/
/* Library-private Variables */