Skip to content

Commit

Permalink
High: sbd: Maximize scheduler and IO priority in the child processes …
Browse files Browse the repository at this point in the history
…(bnc#702907)
  • Loading branch information
Lars Marowsky-Bree committed Jun 30, 2011
1 parent 3a83997 commit 8db503d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sbd-md.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ int assign_servant(const char* devname, functionp_t functionp, const void* argp)
DBGPRINT("fork servant for %s\n", devname);
pid = fork();
if (pid == 0) { /* child */
maximize_priority();
rc = (*functionp)(devname, argp);
if (rc == -1)
exit(1);
Expand Down

0 comments on commit 8db503d

Please sign in to comment.