]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
tools/rados: support for high precision time using stat2
authorAbhishek Lekshmanan <abhishek@suse.com>
Thu, 31 Aug 2017 10:56:48 +0000 (12:56 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Thu, 31 Aug 2017 12:12:39 +0000 (14:12 +0200)
commit1e673086795b4318636525ecea9720febe008d6a
treeb66cd1491cb983b836a80f28839965628b34b2c7
parent270f1edaae41d0a9eb17e5c37295621f9259e8a0
tools/rados: support for high precision time using stat2

This commit introduces `stat2` option for the rados cli, which is
similar to `stat` except that it returns the mtime in high precision,
which is useful for inspecting objects for example if the application
had used the related librados api calls (like radosgw using `mtime2`)

Fixes: http://tracker.ceph.com/issues/21199
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/tools/rados/rados.cc