[Ocfs2-devel] [bug] dead lock when truncate file
Ling, Xiaofeng
xiaofeng.ling at intel.com
Wed Aug 11 09:11:15 CDT 2004
svn 1343 kernel 2.6.6
Step:
On node A, call truncate(filename, size) in loop and at the same time,
call stat
to filename at node B
Result
On node A, the process went into "D" status
On node B, the process exit regular.
The call stack on Node A for truncate
schedule
ocfs_lookup_file_allocation
ocfs_get_block
ocfs2_zero_extend
ocfs_setattr
sys_truncate
It is in some down fail.
Not sure whether it fails in down_read(&OCFS_I(inode)->ip_io_sem);
or
down(&OCFS_I(inode)->ip_sem)
-------------------
Intel China Software Lab.
iNet: 8-752-1243
8621-52574545-1243(O)
503-712-6740(Temp)
xfling at users.sourceforge.net
Opinions are my own and don't represent those of my employer
More information about the Ocfs2-devel
mailing list