Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
cca2cc28
Commit
cca2cc28
authored
May 17, 2017
by
Christian Brauner
Committed by
GitHub
May 17, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1568 from hallyn/2017-05-17/cgfsng.log
cgfsng: log when we defer to cgfsng
parents
1de3c917
5059aae9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
cgfsng.c
src/lxc/cgroups/cgfsng.c
+6
-2
No files found.
src/lxc/cgroups/cgfsng.c
View file @
cca2cc28
...
...
@@ -783,8 +783,10 @@ static char **get_controllers(char **klist, char **nlist, char *line)
return
NULL
;
/* note - if we change how mountinfo works, then our caller
* will need to verify /sys/fs/cgroup/ in this field */
if
(
strncmp
(
p
,
"/sys/fs/cgroup/"
,
15
)
!=
0
)
if
(
strncmp
(
p
,
"/sys/fs/cgroup/"
,
15
)
!=
0
)
{
INFO
(
"cgfsng: found hierarchy not under /sys/fs/cgroup:
\"
%s
\"
"
,
p
);
return
NULL
;
}
p
+=
15
;
p2
=
strchr
(
p
,
' '
);
if
(
!
p2
)
{
...
...
@@ -1136,8 +1138,10 @@ static bool parse_hierarchies(void)
/* verify that all controllers in cgroup.use and all crucial
* controllers are accounted for
*/
if
(
!
all_controllers_found
())
if
(
!
all_controllers_found
())
{
INFO
(
"cgfsng: not all controllers were find, deferring to cgfs driver"
);
return
false
;
}
return
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment