Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

kernel - Reduce dsched console output

* Only print out 'No policy for ...' messages if bootverbose is set.
  • Loading branch information...
commit 027623d49707dee2f73632fe2edcccc6238992cb 1 parent 6ceb272
Matthew Dillon authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 sys/kern/kern_dsched.c
View
8 sys/kern/kern_dsched.c
@@ -161,9 +161,11 @@ dsched_disk_create_callback(struct disk *dp, const char *head_name, int unit)
}
if (!policy) {
- if (!default_set) {
- dsched_debug(0, "No policy for %s%d specified, "
- "or policy not found\n", head_name, unit);
+ if (!default_set && bootverbose) {
+ dsched_debug(0,
+ "No policy for %s%d specified, "
+ "or policy not found\n",
+ head_name, unit);
}
dsched_set_policy(dp, default_policy);
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.