Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
systemd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
steam
systemd
Commits
c1480dae
Commit
c1480dae
authored
Sep 23, 2010
by
Lennart Poettering
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readahead: normalize logging
parent
6e3eb5ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
fixme
fixme
+2
-0
src/readahead-collect.c
src/readahead-collect.c
+1
-4
src/readahead-replay.c
src/readahead-replay.c
+1
-3
No files found.
fixme
View file @
c1480dae
...
...
@@ -94,6 +94,8 @@
* properly handle bind mounts in /etc/fstab
* readahead() vs. fadvise() vs. ioprio
External:
* place /etc/inittab with explaining blurb.
...
...
src/readahead-collect.c
View file @
c1480dae
...
...
@@ -319,7 +319,6 @@ static int collect(const char *root) {
m
=
FAN_EVENT_NEXT
(
m
,
n
);
}
}
if
(
fanotify_fd
>=
0
)
{
...
...
@@ -438,12 +437,10 @@ finish:
}
int
main
(
int
argc
,
char
*
argv
[])
{
/* log_set_target(LOG_TARGET_SYSLOG_OR_KMSG); */
log_set_target
(
LOG_TARGET_SYSLOG_OR_KMSG
);
log_parse_environment
();
log_open
();
log_set_max_level
(
LOG_DEBUG
);
if
(
collect
(
"/"
)
<
0
)
return
1
;
...
...
src/readahead-replay.c
View file @
c1480dae
...
...
@@ -201,12 +201,10 @@ finish:
}
int
main
(
int
argc
,
char
*
argv
[])
{
/* log_set_target(LOG_TARGET_SYSLOG_OR_KMSG); */
log_set_target
(
LOG_TARGET_SYSLOG_OR_KMSG
);
log_parse_environment
();
log_open
();
log_set_max_level
(
LOG_DEBUG
);
if
(
replay
(
"/"
)
<
0
)
return
1
;
...
...
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