-
Notifications
You must be signed in to change notification settings - Fork 35
CTL: Add a CTL sources to the UMF #913
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
Conversation
src/ctl/ctl.c
Outdated
*/ | ||
int ctl_load_config_from_string(struct ctl *ctl, void *ctx, | ||
const char *cfg_string) { | ||
// LOG(3, "ctl %p ctx %p cfg_string \"%s\"", ctl, ctx, cfg_string); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LOG
could be replaced with our LOG_*
macros
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temporarily deleted
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll leave this issue open, for LOGs to come back, when ready
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump, pls add LOGs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not a scope of this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few places with the old LOG(
were removed, just please bring them back using our logger
5c52d3a
to
cdd3d46
Compare
4f30764
to
0f8383e
Compare
0d68c68
to
44ec630
Compare
Thanks for introducing a sep. commit, but it still require some cleanup. At least the description of the 3rd commit should be rather in the first commit: |
I've changed commits descriptions. |
19c3c68
to
8de1b69
Compare
80da367
to
12dbce6
Compare
This commit introduces sources of the CTL. The CTL sources are copied from: https://github.com/pmem/pmdk/tree/master/src/common
Signed-off-by: Krzysztof Filipek <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 nits, 1 issue, beside it looks good
|
||
// This file was originally under following license: | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
/* Copyright 2016-2024, Intel Corporation */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: do we need the second copyright? it's same company, it's even the same dates. If really needed we can merge them e.g. as in here: https://github.com/oneapi-src/unified-memory-framework/blob/main/src/uthash/uthash.h#L3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will create an issue for it
* | ||
*/ | ||
|
||
// This file was originally under following license: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: why mixing 2 comment methods? we could stick to /**/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will create an issue for it
Description
This commit introduces sources and compilation of the CTL.
Checklists
TODO:
Other: