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 304047 Details for
Bug 444529
groupd and gfs_controld can spin at 100% cpu usage during recovery
[?]
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]
Fixes behavior
rhel5-444529.patch (text/plain), 1.74 KB, created by
Lon Hohberger
on 2008-04-28 21:48:09 UTC
(
hide
)
Description:
Fixes behavior
Filename:
MIME Type:
Creator:
Lon Hohberger
Created:
2008-04-28 21:48:09 UTC
Size:
1.74 KB
patch
obsolete
>diff --git a/fence/fenced/main.c b/fence/fenced/main.c >index f0f23e5..c3d1720 100644 >--- a/fence/fenced/main.c >+++ b/fence/fenced/main.c >@@ -480,7 +480,7 @@ static int loop(void) > for (i = 1; i <= maxi; i++) { > if (client[i].fd < 0) > continue; >- if (pollfd[i].revents & POLLHUP) { >+ if (pollfd[i].revents & (POLLERR | POLLHUP | POLLNVAL)) { > if (pollfd[i].fd == member_fd) { > log_error("cluster is down, exiting"); > exit(1); >diff --git a/group/daemon/main.c b/group/daemon/main.c >index 81c5392..19fbf48 100644 >--- a/group/daemon/main.c >+++ b/group/daemon/main.c >@@ -764,7 +764,7 @@ static int loop(void) > for (i = 0; i <= client_maxi; i++) { > if (client[i].fd < 0) > continue; >- if (pollfd[i].revents & POLLHUP) { >+ if (pollfd[i].revents & (POLLERR | POLLHUP | POLLNVAL)) { > deadfn = client[i].deadfn; > deadfn(i); > } else if (pollfd[i].revents & POLLIN) { >diff --git a/group/gfs_controld/main.c b/group/gfs_controld/main.c >index 59ac66d..b2edc32 100644 >--- a/group/gfs_controld/main.c >+++ b/group/gfs_controld/main.c >@@ -617,7 +617,7 @@ int loop(void) > process_client(i); > } > >- if (pollfd[i].revents & POLLHUP) { >+ if (pollfd[i].revents & (POLLHUP | POLLERR | POLLNVAL)) { > if (pollfd[i].fd == cman_fd) { > log_error("cman connection died"); > exit_cman(); >diff --git a/group/test/clientd.c b/group/test/clientd.c >index 940448f..4a8411e 100644 >--- a/group/test/clientd.c >+++ b/group/test/clientd.c >@@ -172,7 +172,7 @@ int loop(void) > log_error("poll"); > > for (i = 0; i <= maxi; i++) { >- if (pollfd[i].revents & POLLHUP) { >+ if (pollfd[i].revents & (POLLHUP | POLLERR | POLLNVAL)) { > process_hup(pollfd[i].fd); > } else if (pollfd[i].revents & POLLIN) { > process_input(pollfd[i].fd);
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 444529
:
304047
|
304048