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 145380 Details for
Bug 222335
stuck transaction lock causes journal recovery to hang in gfs
[?]
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.
lock_dlm patch for debugging
gfs-debug-trans-lock.patch (text/plain), 1.81 KB, created by
David Teigland
on 2007-01-11 19:22:05 UTC
(
hide
)
Description:
lock_dlm patch for debugging
Filename:
MIME Type:
Creator:
David Teigland
Created:
2007-01-11 19:22:05 UTC
Size:
1.81 KB
patch
obsolete
>Index: linux-2.6.19-quilt/fs/gfs2/locking/dlm/lock.c >=================================================================== >--- linux-2.6.19-quilt.orig/fs/gfs2/locking/dlm/lock.c 2006-12-06 11:33:07.000000000 -0600 >+++ linux-2.6.19-quilt/fs/gfs2/locking/dlm/lock.c 2006-12-08 16:25:31.555639446 -0600 >@@ -230,6 +230,10 @@ > struct gdlm_strname str; > int error, bast = 1; > >+ if (lp->lockname.ln_number == 2 && lp->lockname.ln_type == 1) >+ printk("TRANS lock cur %d req %d flags %lx\n", >+ lp->cur, lp->req, lp->flags); >+ > /* > * When recovery is in progress, delay lock requests for submission > * once recovery is done. Requests for recovery (NOEXP) and unlocks >@@ -325,6 +329,9 @@ > { > struct gdlm_lock *lp = lock; > >+ if (lp->lockname.ln_number == 2 && lp->lockname.ln_type == 1) >+ printk("TRANS unlock cur %d flags %lx\n", lp->cur, lp->flags); >+ > clear_bit(LFL_DLM_CANCEL, &lp->flags); > if (lp->cur == DLM_LOCK_IV) > return 0; >Index: linux-2.6.19-quilt/fs/gfs2/locking/dlm/thread.c >=================================================================== >--- linux-2.6.19-quilt.orig/fs/gfs2/locking/dlm/thread.c 2006-11-29 15:57:37.000000000 -0600 >+++ linux-2.6.19-quilt/fs/gfs2/locking/dlm/thread.c 2006-12-08 16:27:10.277554163 -0600 >@@ -27,6 +27,9 @@ > struct gdlm_ls *ls = lp->ls; > unsigned int cb = 0; > >+ if (lp->lockname.ln_number == 2 && lp->lockname.ln_type == 1) >+ printk("TRANS bast mode %d cur %d\n", bast_mode, lp->cur); >+ > switch (gdlm_make_lmstate(bast_mode)) { > case LM_ST_EXCLUSIVE: > cb = LM_CB_NEED_E; >@@ -50,6 +53,10 @@ > struct lm_async_cb acb; > s16 prev_mode = lp->cur; > >+ if (lp->lockname.ln_number == 2 && lp->lockname.ln_type == 1) >+ printk("TRANS complete req %d flags %lx status %d\n", >+ lp->req, lp->flags, lp->lksb.sb_status); >+ > memset(&acb, 0, sizeof(acb)); > > if (lp->lksb.sb_status == -DLM_ECANCEL) {
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 Raw
Actions:
View
Attachments on
bug 222335
: 145380 |
174441
|
174461
|
174501
|
174521
|
323268