https://bugzilla.novell.com/show_bug.cgi?id=389656
User xwhu@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=389656#c39
--- Comment #39 from Xinwei Hu 2008-06-17 02:36:46 MDT ---
I insert some printk and see these messages:
===========================
init_list_head: f5077a9c
list_add before: f8c47118<-f8c47118->f8c47118
f8c47118<-f8c47118->f8c47118 f8c47118<-f8c47118->f8c47118
list_add after: f5077a9c<-f8c47118->f5077a9c
f8c47118<-f5077a9c->f8c47118 f5077a9c<-f8c47118->f5077a9c
init_list_head: f5077a9c
[.......]
list_add before: f5077a9c<-f8c47118->f5077a9c
f5077a9c<-f5077a9c->f5077a9c f5077a9c<-f5077a9c->f5077a9c
list_add after: f5077a9c<-f8c47118->f507ea9c
f8c47118<-f507ea9c->f5077a9c f507ea9c<-f5077a9c->f5077a9c
__discard_prealloc: f8c47118<-f507ea9c->f5077a9c
f507ea9c<-f5077a9c->f5077a9c f507ea9c<-f5077a9c->f5077a9c
===========================
It seems that some inodes were deleted before discard_prealloc.
And the issue _seems_ to be fixed by the following patch:
==================
--- inode.c.orig 2008-06-17 16:34:42.000000000 +0800
+++ inode.c 2008-06-17 16:35:19.000000000 +0800
@@ -43,6 +43,10 @@
if (journal_begin(&th, inode->i_sb, jbegin_count))
goto out;
+
+ if (REISERFS_I(inode)->i_prealloc_count > 0)
+ reiserfs_discard_prealloc(&th, inode);
+
reiserfs_update_inode_transaction(inode);
err = reiserfs_delete_object(&th, inode);
=================
just FYI.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.