diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-21 05:37:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-21 05:37:07 (GMT) |
commit | 56513d9df75de92bb96f24e9d0e5e30dce54d065 (patch) | |
tree | 61ddcb5cf21d4981174719be3d09c99d958817f9 /src/H5Dio.c | |
parent | 94ea835bbb50d5b5215c7e02515cd0f603985c92 (diff) | |
download | hdf5-56513d9df75de92bb96f24e9d0e5e30dce54d065.zip hdf5-56513d9df75de92bb96f24e9d0e5e30dce54d065.tar.gz hdf5-56513d9df75de92bb96f24e9d0e5e30dce54d065.tar.bz2 |
Remove dead code behind #ifdef OLD_WAY (#3163)
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r-- | src/H5Dio.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c index 1cd5835..69ba310 100644 --- a/src/H5Dio.c +++ b/src/H5Dio.c @@ -827,24 +827,6 @@ H5D__write(size_t count, H5D_dset_io_info_t *dset_info) #endif /* H5_HAVE_PARALLEL */ } -#ifdef OLD_WAY - /* - * This was taken out because it can be called in a parallel program with - * independent access, causing the metadata cache to get corrupted. Its been - * disabled for all types of access (serial as well as parallel) to make the - * modification time consistent for all programs. -QAK - * - * We should set a value in the dataset's shared information instead and flush - * it to the file when the dataset is being closed. -QAK - */ - /* - * Update modification time. We have to do this explicitly because - * writing to a dataset doesn't necessarily change the object header. - */ - if (H5O_touch(&(dataset->oloc), FALSE) < 0) - HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to update modification time") -#endif /* OLD_WAY */ - done: /* Shut down the I/O op information */ for (i = 0; i < io_op_init; i++) { |