From d639552527f5c940c2f81b04772313e7166f9276 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Tue, 5 Jul 2022 15:26:03 +0000 Subject: [PATCH] librados: doc: make header function documentation accurate and less confusing The time is set in PrimaryLogPG::execute/_cts/finish_ctx, and the size is just the tracked size of the object. Signed-off-by: Greg Farnum --- src/include/rados/librados.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/include/rados/librados.h b/src/include/rados/librados.h index 8d130ba7c3773..2c19268c204d8 100644 --- a/src/include/rados/librados.h +++ b/src/include/rados/librados.h @@ -1813,9 +1813,7 @@ CEPH_RADOS_API unsigned int rados_omap_iter_size(rados_omap_iter_t iter); CEPH_RADOS_API void rados_omap_get_end(rados_omap_iter_t iter); /** - * Get object stats (size/mtime) - * - * TODO: when are these set, and by whom? can they be out of date? + * Get object size and most recent update time from the OSD. * * @param io ioctx * @param o object name -- 2.39.5