From 773172cc99edb4f3c19c09b3863ac9f0737aff45 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Fri, 19 Nov 2021 18:36:14 +0300 Subject: [PATCH] mdbx: minor clarify descriptions of the `MDBX_commit_latency` fields. --- mdbx.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mdbx.h b/mdbx.h index de9dfb91..43d0d5ef 100644 --- a/mdbx.h +++ b/mdbx.h @@ -3286,9 +3286,11 @@ struct MDBX_commit_latency { uint32_t gc; /** \brief Duration of internal audit if enabled. */ uint32_t audit; - /** \brief Duration of writing dirty/modified data pages. */ + /** \brief Duration of writing dirty/modified data pages to a filesystem, + * i.e. the summary duration of a `write()` syscalls during commit. */ uint32_t write; - /** \brief Duration of syncing written data to the dist/storage. */ + /** \brief Duration of syncing written data to the disk/storage, i.e. + * the duration of a `fdatasync()` or a `msync()` syscall during commit. */ uint32_t sync; /** \brief Duration of transaction ending (releasing resources). */ uint32_t ending;