Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 161726 Details for
Bug 245715
lvs syncdaemon causes 1.00 too high average load on system
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch
net-lvs-msleep_interruptable.patch (text/plain), 1.19 KB, created by
Anton Arapov
on 2007-08-17 11:22:41 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Anton Arapov
Created:
2007-08-17 11:22:41 UTC
Size:
1.19 KB
patch
obsolete
>diff -urpN linux-2.6.18.noarch.orig/net/ipv4/ipvs/ip_vs_sync.c linux-2.6.18.noarch/net/ipv4/ipvs/ip_vs_sync.c >--- linux-2.6.18.noarch.orig/net/ipv4/ipvs/ip_vs_sync.c 2007-08-17 10:04:11.000000000 +0200 >+++ linux-2.6.18.noarch/net/ipv4/ipvs/ip_vs_sync.c 2007-08-17 10:07:26.000000000 +0200 >@@ -657,7 +657,7 @@ static void sync_master_loop(void) > if (stop_master_sync) > break; > >- ssleep(1); >+ msleep_interruptible(1000); > } > > /* clean up the sync_buff queue */ >@@ -714,7 +714,7 @@ static void sync_backup_loop(void) > if (stop_backup_sync) > break; > >- ssleep(1); >+ msleep_interruptible(1000); > } > > /* release the sending multicast socket */ >@@ -826,7 +826,7 @@ static int fork_sync_thread(void *startu > if ((pid = kernel_thread(sync_thread, startup, 0)) < 0) { > IP_VS_ERR("could not create sync_thread due to %d... " > "retrying.\n", pid); >- ssleep(1); >+ msleep_interruptible(1000); > goto repeat; > } > >@@ -860,7 +860,7 @@ int start_sync_thread(int state, char *m > if ((pid = kernel_thread(fork_sync_thread, &startup, 0)) < 0) { > IP_VS_ERR("could not create fork_sync_thread due to %d... " > "retrying.\n", pid); >- ssleep(1); >+ msleep_interruptible(1000); > goto repeat; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 245715
: 161726