summaryrefslogtreecommitdiffstats
path: root/src/H5Fvfd_swmr.c
diff options
context:
space:
mode:
authorMuqun Yang <myang6@hdfgroup.org>2021-10-28 17:29:39 (GMT)
committerMuqun Yang <myang6@hdfgroup.org>2021-10-28 17:29:39 (GMT)
commit7a527aac5a69449a185cdd40de43b82723cc3fbb (patch)
treebaa263666a0de357299eb9ec0bbdc99c3a46bd8d /src/H5Fvfd_swmr.c
parente52f6fdb1322a1b770eac4297ce7d0dd01e1da73 (diff)
downloadhdf5-7a527aac5a69449a185cdd40de43b82723cc3fbb.zip
hdf5-7a527aac5a69449a185cdd40de43b82723cc3fbb.tar.gz
hdf5-7a527aac5a69449a185cdd40de43b82723cc3fbb.tar.bz2
Modify comments.
Diffstat (limited to 'src/H5Fvfd_swmr.c')
-rw-r--r--src/H5Fvfd_swmr.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/H5Fvfd_swmr.c b/src/H5Fvfd_swmr.c
index 12c8905..c3ecae3 100644
--- a/src/H5Fvfd_swmr.c
+++ b/src/H5Fvfd_swmr.c
@@ -355,7 +355,10 @@ H5F_vfd_swmr_close_or_flush(H5F_t *f, hbool_t closing)
#endif
done:
- /* Kent: close the VFD SWMR log file if it is turned on */
+ /* Kent: close the VFD SWMR log file if it is turned on.
+ * Please REVIEW to ensure this is the right place to
+ * close the log file.
+ */
if (shared->vfd_swmr_log_on) {
HDfclose(shared->vfd_swmr_log_file_ptr);
}
@@ -1977,7 +1980,7 @@ H5F_post_vfd_swmr_log_entry(H5F_t *f, int entry_type_code, char *log_info)
/* Obtain the current time.
If failed, write an error message to the log file.
else calcluate the elapsed time in seconds since the log file
- was created and wirte the time to the log file. */
+ was created and write the time to the log file. */
if (HDclock_gettime(CLOCK_MONOTONIC, &current_time) < 0) {
gettime_error = HDmalloc(14);
HDsprintf(gettime_error, "gettime_error");