summaryrefslogtreecommitdiffstats
path: root/src/librados/IoCtxImpl.h
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2016-03-04 21:05:34 +0100
committerYehuda Sadeh <yehuda@redhat.com>2016-03-04 21:05:34 +0100
commit4ad230a388d07102f72e04d922bc87b2dbc84150 (patch)
tree8fb5f877676dcfee5c5e7873178899d8c50c74c8 /src/librados/IoCtxImpl.h
parentlibrados: add stat2() calls that return high resultion mtime (diff)
downloadceph-4ad230a388d07102f72e04d922bc87b2dbc84150.tar.xz
ceph-4ad230a388d07102f72e04d922bc87b2dbc84150.zip
librados: new stat2() that returns ceph::real_time
Hiding ceph_real_time behind ceph_real_time_t Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/librados/IoCtxImpl.h')
-rw-r--r--src/librados/IoCtxImpl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librados/IoCtxImpl.h b/src/librados/IoCtxImpl.h
index 3e45f16e123..b795202d4c1 100644
--- a/src/librados/IoCtxImpl.h
+++ b/src/librados/IoCtxImpl.h
@@ -138,6 +138,7 @@ struct librados::IoCtxImpl {
int remove(const object_t& oid, int flags);
int stat(const object_t& oid, uint64_t *psize, time_t *pmtime);
int stat2(const object_t& oid, uint64_t *psize, struct timespec *pts);
+ int stat2(const object_t& oid, uint64_t *psize, ceph_real_time_t *pmtime);
int trunc(const object_t& oid, uint64_t size);
int tmap_update(const object_t& oid, bufferlist& cmdbl);
@@ -206,6 +207,7 @@ struct librados::IoCtxImpl {
const char *method, bufferlist& inbl, bufferlist *outbl);
int aio_stat(const object_t& oid, AioCompletionImpl *c, uint64_t *psize, time_t *pmtime);
int aio_stat2(const object_t& oid, AioCompletionImpl *c, uint64_t *psize, struct timespec *pts);
+ int aio_stat2(const object_t& oid, AioCompletionImpl *c, uint64_t *psize, ceph_real_time_t *pmtime);
int aio_cancel(AioCompletionImpl *c);
int pool_change_auid(unsigned long long auid);