30 #error "Do not include this file outside the H5AC package!" 37 #include "H5ACprivate.h" 41 #include "H5Cprivate.h" 42 #include "H5SLprivate.h" 45 #define H5AC_DEBUG_DIRTY_BYTES_CREATION 0 47 #ifdef H5_HAVE_PARALLEL 53 #define H5AC_SYNC_POINT_OP__FLUSH_TO_MIN_CLEAN 0 54 #define H5AC_SYNC_POINT_OP__FLUSH_CACHE 1 65 #define H5AC__MIN_DIRTY_BYTES_THRESHOLD (int32_t) \ 66 (H5C__MIN_MAX_CACHE_SIZE / 2) 67 #define H5AC__DEFAULT_DIRTY_BYTES_THRESHOLD (256 * 1024) 68 #define H5AC__MAX_DIRTY_BYTES_THRESHOLD (int32_t) \ 69 (H5C__MAX_MAX_CACHE_SIZE / 4) 329 #ifdef H5_HAVE_PARALLEL 331 #define H5AC__H5AC_AUX_T_MAGIC (unsigned)0x00D0A01 333 typedef struct H5AC_aux_t
345 int32_t dirty_bytes_threshold;
349 int32_t metadata_write_strategy;
351 #if H5AC_DEBUG_DIRTY_BYTES_CREATION 353 int32_t dirty_bytes_propagations;
355 int32_t unprotect_dirty_bytes;
356 int32_t unprotect_dirty_bytes_updates;
358 int32_t insert_dirty_bytes;
359 int32_t insert_dirty_bytes_updates;
361 int32_t move_dirty_bytes;
362 int32_t move_dirty_bytes_updates;
366 H5SL_t * d_slist_ptr;
370 H5SL_t * c_slist_ptr;
374 H5SL_t * candidate_slist_ptr;
376 int32_t candidate_slist_len;
378 void (* write_done)(void);
380 void (* sync_point_done)(
int num_writes,
381 haddr_t * written_entries_tbl);