Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common: Remove ceph_clock_gettime, extern keyword #19353

Merged
merged 1 commit into from Dec 13, 2017

Conversation

shinobu-x
Copy link
Contributor

ceph_clock_gettime is only used in src/tools/rbd/action/Trash.cc

Signed-off-by: Shinobu Kinjo shinobu@redhat.com

ceph_clock_gettime is only used in src/tools/rbd/action/Trash.cc

Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
@shinobu-x shinobu-x changed the title common: Drop unused method, etc common: Remove ceph_clock_gettime, extern keyword Dec 6, 2017
@wjwithagen
Copy link
Contributor

@liewegas
What kind of resolution is required for ceph_clock_now?
Could it do with '_COARSE' of '_FAST'?

Probably the test on __linux__ in Clock.cc could be a test on CLOCK_REALTIME
and thus use that on all platforms that have clock_gettime() available....

@tchaikov tchaikov merged commit 4987778 into ceph:master Dec 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants