[Ocfs2-devel] A patch to fix bug 45 in bugzilla

Mark Fasheh mark.fasheh at oracle.com
Thu Mar 18 10:50:31 CST 2004


On Thu, Mar 18, 2004 at 05:29:20PM +0800, Sonic Zhang wrote:
> Hi,
> 
> I think I found the root cause of the bug 45 in the bugzilla.
> 
> Actually, it is not an OCFS bug. It is caused in the Linux journaling
> routine(JBD) journal_create(). In kernel 2.6.x, buffer_head state
> BH_Uptodate is checked in mark_buffer_dirty(), while kernel 2.4.x
> doesn't do. If this state doesn't exist in the buffer_head, buffer error
> information is reported. But, in routine journal_create(), the state
> BH_Uptodate is set after the call to mark_buffer_dirty(). This works 
> well in kernel 2.4.x, but fails in kernel 2.6.x.
> 
> I attach a patch to fix this bug in kernel 2.6.x. Could you please put it 
> into the subfolder "patches" in ocfs2 source tree?
Cool! For some reason, this doesn't seem to patch against my 2.6.4 tree.
Would you mind regenerating it against a more recent 2.6 kernel? Also, you
should forward it to Stephen Tweedie (sct at redhat.com), the JBD maintainer.
	--Mark

--
Mark Fasheh
Software Developer, Oracle Corp
mark.fasheh at oracle.com


More information about the Ocfs2-devel mailing list