>>> On Wed, 28 Sep 2005 12:45:38 -0700, Rob <[EMAIL PROTECTED]> said:

[ ... ]

jfs> messages:Sep 25 17:54:46 s1-vm101 kernel: JFS: nTxBlock = 6539, nTxLock = 
52313
jfs> messages:Sep 26 08:50:15 s1-vm101 kernel: ERROR: (device sda2): 
jfs> JFS:Dtree error: ino = 241811, bn=0, index = 1

[ ... ]

jfs> **Phase 2 - Count links
jfs> Incorrect link counts have been detected. Will correct.
jfs> **Phase 3 - Duplicate Block Rescan and Directory Connectedness
jfs> **Phase 4 - Report Problems
jfs> File system object FF4106 is linked as: error.log
jfs> cannot repair the data format error(s) in this file.
jfs> cannot repair FF4106.  Will release.

This reminds me of some problem I had, and this patch seems to have
helped:

  http://SourceForge.net/mailarchive/message.php?msg_id=12965627

There is another JFS patch in the 2.6.13.2 patchlet, which may or may
not (more probably) be related, and I have appended it here:

diff --git a/fs/jfs/inode.c b/fs/jfs/inode.c
--- a/fs/jfs/inode.c
+++ b/fs/jfs/inode.c
@@ -128,21 +128,21 @@ void jfs_delete_inode(struct inode *inod
 {
        jfs_info("In jfs_delete_inode, inode = 0x%p", inode);
 
-       if (is_bad_inode(inode) ||
-           (JFS_IP(inode)->fileset != cpu_to_le32(FILESYSTEM_I)))
-                       return;
+       if (!is_bad_inode(inode) &&
+           (JFS_IP(inode)->fileset == cpu_to_le32(FILESYSTEM_I))) {
 
-       if (test_cflag(COMMIT_Freewmap, inode))
-               jfs_free_zero_link(inode);
+               if (test_cflag(COMMIT_Freewmap, inode))
+                       jfs_free_zero_link(inode);
 
-       diFree(inode);
+               diFree(inode);
 
-       /*
-        * Free the inode from the quota allocation.
-        */
-       DQUOT_INIT(inode);
-       DQUOT_FREE_INODE(inode);
-       DQUOT_DROP(inode);
+               /*
+                * Free the inode from the quota allocation.
+                */
+               DQUOT_INIT(inode);
+               DQUOT_FREE_INODE(inode);
+               DQUOT_DROP(inode);
+       }
 
        clear_inode(inode);
 }

[ ... ]



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion

Reply via email to