summaryrefslogtreecommitdiffstats
path: root/src/H5B2pkg.h
diff options
context:
space:
mode:
authorVailin Choi <vchoi@hdfgroup.org>2015-09-06 19:55:20 (GMT)
committerVailin Choi <vchoi@hdfgroup.org>2015-09-06 19:55:20 (GMT)
commitb6f4eee12f80f32833b8b1b4891a821578626941 (patch)
tree4e69790f1468a3fb680af8faf1f9564094e94304 /src/H5B2pkg.h
parentc102869b66899956c1658b3d99955f23402c1276 (diff)
downloadhdf5-b6f4eee12f80f32833b8b1b4891a821578626941.zip
hdf5-b6f4eee12f80f32833b8b1b4891a821578626941.tar.gz
hdf5-b6f4eee12f80f32833b8b1b4891a821578626941.tar.bz2
[svn-r27688] Bring version 3 metadata cache from trunk + adding retries.
Tested on jam, kite, platypus, quail, moohan, ostrich, osx1010test, emu.
Diffstat (limited to 'src/H5B2pkg.h')
-rw-r--r--src/H5B2pkg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5B2pkg.h b/src/H5B2pkg.h
index 9c5c693..9702ae0 100644
--- a/src/H5B2pkg.h
+++ b/src/H5B2pkg.h
@@ -242,6 +242,7 @@ typedef enum H5B2_nodepos_t {
typedef struct H5B2_hdr_cache_ud_t {
H5F_t *f; /* File that v2 b-tree header is within */
void *parent; /* Flush dependency parent */
+ haddr_t addr; /* Address of B-tree header in the file */
void *ctx_udata; /* User-data for protecting */
} H5B2_hdr_cache_ud_t;
@@ -324,11 +325,11 @@ H5_DLL herr_t H5B2__hdr_delete(H5B2_hdr_t *hdr, hid_t dxpl_id);
/* Routines for operating on leaf nodes */
H5B2_leaf_t *H5B2__protect_leaf(H5B2_hdr_t *hdr, hid_t dxpl_id, haddr_t addr,
- void *parent, uint16_t nrec, H5AC_protect_t rw);
+ void *parent, uint16_t nrec, unsigned flags);
/* Routines for operating on internal nodes */
H5_DLL H5B2_internal_t *H5B2__protect_internal(H5B2_hdr_t *hdr, hid_t dxpl_id,
- haddr_t addr, void *parent, uint16_t nrec, uint16_t depth, H5AC_protect_t rw);
+ haddr_t addr, void *parent, uint16_t nrec, uint16_t depth, unsigned flags);
/* Routines for allocating nodes */
H5_DLL herr_t H5B2__split_root(H5B2_hdr_t *hdr, hid_t dxpl_id);