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 307354 Details for
Bug 449098
Setting lock_timeout to 0 causes all sorts of problems
[?]
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]
Patch to fix
ltimeout.patch (text/plain), 1.11 KB, created by
Christine Caulfield
on 2008-06-02 12:25:36 UTC
(
hide
)
Description:
Patch to fix
Filename:
MIME Type:
Creator:
Christine Caulfield
Created:
2008-06-02 12:25:36 UTC
Size:
1.11 KB
patch
obsolete
>diff --git a/dlm-kernel/src/ast.c b/dlm-kernel/src/ast.c >index 34645a9..de07deb 100644 >--- a/dlm-kernel/src/ast.c >+++ b/dlm-kernel/src/ast.c >@@ -502,7 +502,8 @@ static void process_lockqueue(void) > if (!test_bit(LSFL_LS_RUN, &ls->ls_flags)) > continue; > >- if (check_timeout(lkb->lkb_lockqueue_time, >+ if (dlm_config.lock_timeout && >+ check_timeout(lkb->lkb_lockqueue_time, > dlm_config.lock_timeout)) { > count++; > list_del(&lkb->lkb_lockqueue); >@@ -517,7 +518,7 @@ static void process_lockqueue(void) > wake_astd(); > > mod_timer(&_lockqueue_timer, >- jiffies + ((dlm_config.lock_timeout >> 1) * HZ)); >+ jiffies + ((dlm_config.lock_timeout?((dlm_config.lock_timeout >> 1) * HZ):30*HZ))); > } > > /* Look for deadlocks */ >@@ -584,7 +585,7 @@ static int dlm_astd(void *data) > _lockqueue_timer.function = lockqueue_timer_fn; > _lockqueue_timer.data = 0; > mod_timer(&_lockqueue_timer, >- jiffies + ((dlm_config.lock_timeout >> 1) * HZ)); >+ jiffies + ((dlm_config.lock_timeout?((dlm_config.lock_timeout >> 1) * HZ):30*HZ))); > > while (!kthread_should_stop()) { > set_current_state(TASK_INTERRUPTIBLE);
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 449098
: 307354