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 595861 Details for
Bug 837155
jbd can't process 512B block size correctly, make system crash.
[?]
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]
make jbd fit for 512B block size.
jbd_512B_new.patch (text/plain), 899 bytes, created by
xiaowei.hu
on 2012-07-03 02:44:19 UTC
(
hide
)
Description:
make jbd fit for 512B block size.
Filename:
MIME Type:
Creator:
xiaowei.hu
Created:
2012-07-03 02:44:19 UTC
Size:
899 bytes
patch
obsolete
>diff -up linux-2.6.18-308.1.1.0.1.el5.x86_64/fs/jbd/journal.c.orig linux-2.6.18-308.1.1.0.1.el5.x86_64/fs/jbd/journal.c >--- linux-2.6.18-308.1.1.0.1.el5.x86_64/fs/jbd/journal.c.orig 2012-04-26 15:54:07.000000000 +0800 >+++ linux-2.6.18-308.1.1.0.1.el5.x86_64/fs/jbd/journal.c 2012-04-26 15:56:31.000000000 +0800 >@@ -1653,13 +1653,13 @@ void * __jbd_kmalloc (const char *where, > * cause bh to cross page boundary. > */ > >-#define JBD_MAX_SLABS 5 >-#define JBD_SLAB_INDEX(size) (size >> 11) >+#define JBD_MAX_SLABS 9 >+#define JBD_SLAB_INDEX(size) (size >> 10) > > static DECLARE_RWSEM(jbd_slab_lock); /* protect jbd_slab[] */ > static kmem_cache_t *jbd_slab[JBD_MAX_SLABS]; > static const char *jbd_slab_names[JBD_MAX_SLABS] = { >- "jbd_1k", "jbd_2k", "jbd_4k", NULL, "jbd_8k" >+ "jbd_512B", "jbd_1k", "jbd_2k", NULL, "jbd_4k", NULL, NULL, NULL, "jbd_8k" > }; > > static void journal_destroy_jbd_slabs(void)
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 837155
: 595861