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

osd: remove cost from mclock op queues; cost not handled well in dmcl… #21428

Merged
merged 1 commit into from Apr 18, 2018

Conversation

ivancich
Copy link
Member

osd: remove cost from mclock op queues; cost not handled well in dmcock library

The current version of the dmclock library does not handle operation
cost well. Therefore cost should not be passed into the library when
enqueuing operations; instead 0 should be passed in.

Signed-off-by: J. Eric Ivancich ivancich@redhat.com

@tchaikov
Copy link
Contributor

needs rebase.

…ock library

The current version of the dmclock library does not handle operation
cost well. Therefore cost should not be passed into the library when
enqueuing operations; instead 0 should be passed in.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
@ivancich ivancich force-pushed the wip-fix-existing-mclock-cost branch from a87d202 to b110b14 Compare April 16, 2018 15:28
@tchaikov
Copy link
Contributor

retest this please.

@tchaikov
Copy link
Contributor

@ivancich could you provide more context w.r.t.

cost not handled well in dmcock library

? is there any discussion (or anything) i can read to help me understand this assertion?

@ivancich
Copy link
Member Author

ivancich commented Apr 18, 2018

@tchaikov I'm working on improving the library. See: ceph/dmclock#46

Furthermore, if you look at how cost is currently handled in the library, it's added to the reservation tag, which is very unlikely to be correct. (See: https://github.com/ceph/dmclock/blob/master/src/dmclock_server.h#L135)

I would like to get this in for mimic. I should have addressed it earlier.

@tchaikov
Copy link
Contributor

it's added to the reservation tag, which is very unlikely to be correct.

this alone justifies the change.

thanks for your explanation!

@tchaikov tchaikov merged commit 1e081a8 into ceph:master Apr 18, 2018
@ivancich ivancich deleted the wip-fix-existing-mclock-cost branch February 27, 2020 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants