]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
librados: doc: make header function documentation accurate and less confusing
authorGreg Farnum <gfarnum@redhat.com>
Tue, 5 Jul 2022 15:26:03 +0000 (15:26 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Tue, 5 Jul 2022 15:28:54 +0000 (15:28 +0000)
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 <gfarnum@redhat.com>
src/include/rados/librados.h

index 8d130ba7c37738d6bdf55e2392a63cc2c20b3026..2c19268c204d8fab74f1bd205600b5e070bb92ac 100644 (file)
@@ -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