[OpenAFS-devel] AFS 1.3.82 failing in kernel, tracing back to link_path_walk/dput/iput.
Sven Oehme
oehmes@de.ibm.com
Fri, 3 Jun 2005 15:53:27 +0200
This is a multipart message in MIME format.
--=_alternative 004C49EFC1257015_=
Content-Type: text/plain; charset="US-ASCII"
i have the same kernel :
starting from line 955 :
void generic_delete_inode(struct inode *inode)
{
struct super_operations *op = inode->i_sb->s_op;
list_del_init(&inode->i_list);
list_del_init(&inode->i_sb_list);
inode->i_state|=I_FREEING;
inodes_stat.nr_inodes--;
spin_unlock(&inode_lock);
if (inode->i_data.nrpages)
truncate_inode_pages(&inode->i_data, 0);
security_inode_delete(inode);
if (op->delete_inode) {
void (*delete)(struct inode *) = op->delete_inode;
if (!is_bad_inode(inode))
DQUOT_INIT(inode);
/* s_op->delete_inode internally recalls clear_inode() */
delete(inode);
} else
clear_inode(inode);
spin_lock(&inode_lock);
hlist_del_init(&inode->i_hash);
spin_unlock(&inode_lock);
wake_up_inode(inode);
if (inode->i_state != I_CLEAR)
line 1023 ---->> BUG();
destroy_inode(inode);
}
Sven
"chas williams - CONTRACTOR" <chas@cmf.nrl.navy.mil>
Sent by: openafs-devel-admin@openafs.org
03/06/2005 15:45
To
"C. Alex. North-Keys" <erlkonig@isgenesis.com>
cc
openafs-devel@openafs.org
Subject
Re: [OpenAFS-devel] AFS 1.3.82 failing in kernel, tracing back to
link_path_walk/dput/iput.
In message <429CAC8B.8090304@isgenesis.com>,"C. Alex. North-Keys" writes:
>Problem seen under SuSE SLES9, kernel version 2.6.5-7.145-smp with
...
>Any suggestions?
...
>May 30 23:38:08 decker kernel: kernel BUG at fs/inode.c:1023!
is there any chance you could get the sources to this kernel and
let us know what is around line 1023 in fs/inode.c?
_______________________________________________
OpenAFS-devel mailing list
OpenAFS-devel@openafs.org
https://lists.openafs.org/mailman/listinfo/openafs-devel
--=_alternative 004C49EFC1257015_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">i have the same kernel :</font>
<br>
<br><font size=2 face="sans-serif">starting from line 955 :</font>
<br>
<br><font size=2 face="sans-serif">void generic_delete_inode(struct inode
*inode)</font>
<br><font size=2 face="sans-serif">{</font>
<br><font size=2 face="sans-serif"> struct super_operations
*op = inode->i_sb->s_op;</font>
<br>
<br><font size=2 face="sans-serif"> list_del_init(&inode->i_list);</font>
<br><font size=2 face="sans-serif"> list_del_init(&inode->i_sb_list);</font>
<br><font size=2 face="sans-serif"> inode->i_state|=I_FREEING;</font>
<br><font size=2 face="sans-serif"> inodes_stat.nr_inodes--;</font>
<br><font size=2 face="sans-serif"> spin_unlock(&inode_lock);</font>
<br>
<br><font size=2 face="sans-serif"> if (inode->i_data.nrpages)</font>
<br><font size=2 face="sans-serif">
truncate_inode_pages(&inode->i_data, 0);</font>
<br>
<br><font size=2 face="sans-serif"> security_inode_delete(inode);</font>
<br>
<br><font size=2 face="sans-serif"> if (op->delete_inode)
{</font>
<br><font size=2 face="sans-serif">
void (*delete)(struct inode *) = op->delete_inode;</font>
<br><font size=2 face="sans-serif">
if (!is_bad_inode(inode))</font>
<br><font size=2 face="sans-serif">
DQUOT_INIT(inode);</font>
<br><font size=2 face="sans-serif">
/* s_op->delete_inode internally recalls clear_inode()
*/</font>
<br><font size=2 face="sans-serif">
delete(inode);</font>
<br><font size=2 face="sans-serif"> } else</font>
<br><font size=2 face="sans-serif">
clear_inode(inode);</font>
<br><font size=2 face="sans-serif"> spin_lock(&inode_lock);</font>
<br><font size=2 face="sans-serif"> hlist_del_init(&inode->i_hash);</font>
<br><font size=2 face="sans-serif"> spin_unlock(&inode_lock);</font>
<br><font size=2 face="sans-serif"> wake_up_inode(inode);</font>
<br><font size=2 face="sans-serif"> if (inode->i_state
!= I_CLEAR)</font>
<br><font size=2 face="sans-serif">line 1023 ---->>
BUG();</font>
<br><font size=2 face="sans-serif"> destroy_inode(inode);</font>
<br><font size=2 face="sans-serif">}</font>
<br>
<br>
<br><font size=2 face="sans-serif">Sven</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>"chas williams - CONTRACTOR"
<chas@cmf.nrl.navy.mil></b> </font>
<br><font size=1 face="sans-serif">Sent by: openafs-devel-admin@openafs.org</font>
<p><font size=1 face="sans-serif">03/06/2005 15:45</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">"C. Alex. North-Keys"
<erlkonig@isgenesis.com></font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top><font size=1 face="sans-serif">openafs-devel@openafs.org</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">Re: [OpenAFS-devel] AFS 1.3.82
failing in kernel, tracing back to link_path_walk/dput/iput.</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>In message <429CAC8B.8090304@isgenesis.com>,"C.
Alex. North-Keys" writes:<br>
>Problem seen under SuSE SLES9, kernel version 2.6.5-7.145-smp with
<br>
...<br>
>Any suggestions?<br>
...<br>
>May 30 23:38:08 decker kernel: kernel BUG at fs/inode.c:1023!<br>
<br>
is there any chance you could get the sources to this kernel and<br>
let us know what is around line 1023 in fs/inode.c?<br>
_______________________________________________<br>
OpenAFS-devel mailing list<br>
OpenAFS-devel@openafs.org<br>
https://lists.openafs.org/mailman/listinfo/openafs-devel<br>
</tt></font>
<br>
--=_alternative 004C49EFC1257015_=--