From: Greg Farnum Date: Tue, 5 Jul 2022 15:26:03 +0000 (+0000) Subject: librados: doc: make header function documentation accurate and less confusing X-Git-Tag: v18.0.0~555^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F46971%2Fhead;p=ceph.git 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 --- diff --git a/src/include/rados/librados.h b/src/include/rados/librados.h index 8d130ba7c37..2c19268c204 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