Closed renzhengeek closed 8 years ago
n1:~ # cat /proc/336/stack [] ocfs2_cluster_lock+0x310/0x910 [ocfs2] [] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2] [] ocfs2_write_begin+0x5b/0x240 [ocfs2] [] generic_perform_write+0xc2/0x1c0 [] generic_file_buffered_write+0x61/0xa0 [] ocfs2_file_aio_write+0x92f/0x960 [ocfs2] [] do_sync_write+0xc8/0x110 [] vfs_write+0xce/0x140 [] sys_write+0x53/0xa0 [] system_call_fastpath+0x16/0x1b [<00007ff59078c300>] 0x7ff59078c300 [] 0xffffffffffffffff n1:~ # cat /proc/1428/stack [] ocfs2_cluster_lock+0x310/0x910 [ocfs2] [] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2] [] ocfs2_permission+0x56/0x120 [ocfs2] [] inode_permission+0x41/0x110 [] do_last+0x47a/0x800 [] path_openat+0xd9/0x420 [] do_filp_open+0x4c/0xc0 [] do_sys_open+0x171/0x1f0 [] system_call_fastpath+0x16/0x1b [<00007fc533ad6eb0>] 0x7fc533ad6eb0 [] 0xffffffffffffffff
n2:~ # cat /proc/18929/stack [] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2] [] ocfs2_inode_lock_with_page+0x11/0x40 [ocfs2] [] ocfs2_inode_lock_with_page+0x11/0x40 [ocfs2] [] ocfs2_readpage+0x8f/0x210 [ocfs2] [] do_generic_file_read+0x13e/0x490 [] file_read_actor+0x0/0x190 [] generic_file_aio_read+0xfc/0x260 [] wake_up+0x43/0x70 [] ocfs2_file_aio_read+0x14b/0x390 [ocfs2] [] do_sync_read+0xc8/0x110 [] vfs_read+0xc7/0x130 [] sys_read+0x53/0xa0 [] system_call_fastpath+0x16/0x1b [] 0xffffffffffffffff n2:~ # cat /proc/19964/stack [] ocfs2_cluster_lock+0x310/0x910 [ocfs2] [] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2] [] ocfs2_permission+0x56/0x120 [ocfs2] [] inode_permission+0x41/0x110 [] sys_faccessat+0x106/0x1b0 [] system_call_fastpath+0x16/0x1b [<00007f375d407357>] 0x7f375d407357 [] 0xffffffffffffffff
Gang's patch: n1:~ # cat /proc/4389/stack [] __ocfs2_cluster_lock+0x310/0x910 [ocfs2] [] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2] [] ocfs2_write_begin+0x5b/0x240 [ocfs2] [] generic_perform_write+0xc2/0x1c0 [] generic_file_buffered_write+0x61/0xa0 [] ocfs2_file_aio_write+0x92f/0x960 [ocfs2] [] do_sync_write+0xc8/0x110 [] vfs_write+0xce/0x140 [] sys_write+0x53/0xa0 [] system_call_fastpath+0x16/0x1b [<00007fa85dd57300>] 0x7fa85dd57300 [] 0xffffffffffffffff
n2:~ # cat /proc/4152/stack [] ocfs2_cluster_lock+0x310/0x910 [ocfs2] [] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2] [] ocfs2_inode_lock_atime+0x11a/0x210 [ocfs2] [] ocfs2_file_aio_read+0x131/0x480 [ocfs2] [] do_sync_read+0xc8/0x110 [] vfs_read+0xc7/0x130 [] sys_read+0x53/0xa0 [] system_call_fastpath+0x16/0x1b [<00007f0645f282a0>] 0x7f0645f282a0 [] 0xffffffffffffffff n2:~ # cat /proc/4928/stack [] ocfs2_cluster_lock+0x310/0x910 [ocfs2] [] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2] [] ocfs2_file_aio_read+0x156/0x480 [ocfs2] [] do_sync_read+0xc8/0x110 [] vfs_read+0xc7/0x130 [] sys_read+0x53/0xa0 [] system_call_fastpath+0x16/0x1b [<00007f622abb82a0>] 0x7f622abb82a0 [] 0xffffffffffffffff
n1:~ # cat /proc/336/stack [] ocfs2_cluster_lock+0x310/0x910 [ocfs2]
[] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2]
[] ocfs2_write_begin+0x5b/0x240 [ocfs2]
[] generic_perform_write+0xc2/0x1c0
[] generic_file_buffered_write+0x61/0xa0
[] ocfs2_file_aio_write+0x92f/0x960 [ocfs2]
[] do_sync_write+0xc8/0x110
[] vfs_write+0xce/0x140
[] sys_write+0x53/0xa0
[] system_call_fastpath+0x16/0x1b
[<00007ff59078c300>] 0x7ff59078c300
[] 0xffffffffffffffff
n1:~ # cat /proc/1428/stack
[] ocfs2_cluster_lock+0x310/0x910 [ocfs2]
[] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2]
[] ocfs2_permission+0x56/0x120 [ocfs2]
[] inode_permission+0x41/0x110
[] do_last+0x47a/0x800
[] path_openat+0xd9/0x420
[] do_filp_open+0x4c/0xc0
[] do_sys_open+0x171/0x1f0
[] system_call_fastpath+0x16/0x1b
[<00007fc533ad6eb0>] 0x7fc533ad6eb0
[] 0xffffffffffffffff
n2:~ # cat /proc/18929/stack [] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2]
[] ocfs2_inode_lock_with_page+0x11/0x40 [ocfs2]
[] ocfs2_inode_lock_with_page+0x11/0x40 [ocfs2]
[] ocfs2_readpage+0x8f/0x210 [ocfs2]
[] do_generic_file_read+0x13e/0x490
[] file_read_actor+0x0/0x190
[] generic_file_aio_read+0xfc/0x260
[] wake_up+0x43/0x70
[] ocfs2_file_aio_read+0x14b/0x390 [ocfs2]
[] do_sync_read+0xc8/0x110
[] vfs_read+0xc7/0x130
[] sys_read+0x53/0xa0
[] system_call_fastpath+0x16/0x1b
[] 0xffffffffffffffff
n2:~ # cat /proc/19964/stack
[] ocfs2_cluster_lock+0x310/0x910 [ocfs2]
[] ocfs2_inode_lock_full_nested+0x178/0x510 [ocfs2]
[] ocfs2_permission+0x56/0x120 [ocfs2]
[] inode_permission+0x41/0x110
[] sys_faccessat+0x106/0x1b0
[] system_call_fastpath+0x16/0x1b
[<00007f375d407357>] 0x7f375d407357
[] 0xffffffffffffffff