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 312403 Details for
Bug 456334
GFS2: glock dumping misses out some glocks
[?]
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 the bug
dump.diff (text/plain), 866 bytes, created by
Steve Whitehouse
on 2008-07-22 22:38:13 UTC
(
hide
)
Description:
Patch to fix the bug
Filename:
MIME Type:
Creator:
Steve Whitehouse
Created:
2008-07-22 22:38:13 UTC
Size:
866 bytes
patch
obsolete
>diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c >index 13391e5..4cbb695 100644 >--- a/fs/gfs2/glock.c >+++ b/fs/gfs2/glock.c >@@ -1816,15 +1816,17 @@ restart: > if (gl) { > gi->gl = hlist_entry(gl->gl_list.next, > struct gfs2_glock, gl_list); >- if (gi->gl) >- gfs2_glock_hold(gi->gl); >+ } else { >+ gi->gl = hlist_entry(gl_hash_table[gi->hash].hb_list.first, >+ struct gfs2_glock, gl_list); > } >+ if (gi->gl) >+ gfs2_glock_hold(gi->gl); > read_unlock(gl_lock_addr(gi->hash)); > if (gl) > gfs2_glock_put(gl); >- if (gl && gi->gl == NULL) >- gi->hash++; > while (gi->gl == NULL) { >+ gi->hash++; > if (gi->hash >= GFS2_GL_HASH_SIZE) > return 1; > read_lock(gl_lock_addr(gi->hash)); >@@ -1833,7 +1835,6 @@ restart: > if (gi->gl) > gfs2_glock_hold(gi->gl); > read_unlock(gl_lock_addr(gi->hash)); >- gi->hash++; > } > > if (gi->sdp != gi->gl->gl_sbd)
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 456334
: 312403