Bug report: Reiser4 freezes during file copy
The software:
Linux kernel 2.6.3 with Reiser4 patch dated February 6th. Compiled with gcc 3.4.0 20040129
(I know the GCC is still in testing, but Reiser3 works fine with it, so...)
After I'd created a new Reiser4 filesystem, I was copying my backup files onto it. While I was doing that, it just stopped.
Here is the cp process from a process dump:
cp D C83F583C 0 20232 20159 (NOTLB)c83f57b4 00200082 dd505014 c83f583c c83f58ec 00000002 00000000 00000002
00000002 00000002 00072f8f 972dc381 000021ec d0ffad00 d0ffaec0 c83f5f0c
00200292 c83f4000 d0ffad00 c010714b c83f5f14 00000001 d0ffad00 c011c620
Call Trace:
[<c010714b>] __down+0x7b/0x110
[<c011c620>] default_wake_function+0x0/0x20
[<c01f6356>] extent_size+0x96/0xa0
[<c0107088>] __down_failed+0x8/0xc
[<c01c2f9b>] .text.lock.lock+0xf/0x14
[<c01c90e7>] atom_wait_event+0x57/0x80
[<c01ea84f>] plugin_by_coord_node40+0x2f/0x40
[<c01d5dd8>] write_fq+0x18/0x1d0
[<c01c2487>] longterm_unlock_znode+0xa7/0x140
[<c01cc720>] write_prepped_nodes+0x50/0x60
[<c01cfb27>] flush_current_atom+0x757/0xbc0
[<c01de320>] reiser4_writepages+0x0/0xc0
[<c01c9d14>] flush_some_atom+0x174/0x290
[<c01da903>] reiser4_sync_inodes+0xb3/0x120
[<c0177d26>] sync_sb_inodes+0x16/0x30
[<c0177ed9>] writeback_inodes+0x49/0x92
[<c013db8e>] balance_dirty_pages_ratelimited+0x8e/0x190
[<c01f3e7d>] item_balance_dirty_pages+0xbd/0x190
[<c01f9bdd>] write_extent+0x89d/0xf10
[<c0206fcb>] hint_validate+0xab/0xd0
[<c0206739>] equal_to_rdk+0x29/0x60
[<c01ea84f>] plugin_by_coord_node40+0x2f/0x40
[<c0207d13>] write_flow+0x253/0x460
[<c01f9340>] write_extent+0x0/0xf10
[<c01c8396>] all_grabbed2free+0x36/0x40
[<c0208148>] write_unix_file+0x178/0x2a0
[<c01dd72f>] reiser4_write+0x8f/0x100
[<c01dd6a0>] reiser4_write+0x0/0x100
[<c015642a>] vfs_write+0x10a/0x150
[<c0156522>] sys_write+0x42/0x70
[<c0108249>] sysenter_past_esp+0x52/0x71Signature · 2 lines
Jonathan Briggs [email protected]
hi,
Quoted 8 lines · Jonathan Briggs
The software:
Linux kernel 2.6.3 with Reiser4 patch dated February 6th. Compiled with gcc 3.4.0 20040129
(I know the GCC is still in testing, but Reiser3 works fine with it, so...)After I'd created a new Reiser4 filesystem, I was copying my backup files onto it. While I was doing that, it just stopped.
Did you create reiser4 on a loopback or RAID/LVM device?
Quoted 43 lines
Here is the cp process from a process dump:
cp D C83F583C 0 20232 20159 (NOTLB)c83f57b400200082dd505014c83f583cc83f58ec00000002 00000000 0000000200000002 00000002 00072f8f 972dc381 000021ec d0ffad00 d0ffaec0 c83f5f0c 00200292 c83f4000 d0ffad00 c010714b c83f5f14 00000001 d0ffad00 c011c620 Call Trace: [<c010714b>] __down+0x7b/0x110 [<c011c620>] default_wake_function+0x0/0x20 [<c01f6356>] extent_size+0x96/0xa0 [<c0107088>] __down_failed+0x8/0xc [<c01c2f9b>] .text.lock.lock+0xf/0x14 [<c01c90e7>] atom_wait_event+0x57/0x80 [<c01ea84f>] plugin_by_coord_node40+0x2f/0x40 [<c01d5dd8>] write_fq+0x18/0x1d0 [<c01c2487>] longterm_unlock_znode+0xa7/0x140 [<c01cc720>] write_prepped_nodes+0x50/0x60 [<c01cfb27>] flush_current_atom+0x757/0xbc0 [<c01de320>] reiser4_writepages+0x0/0xc0 [<c01c9d14>] flush_some_atom+0x174/0x290 [<c01da903>] reiser4_sync_inodes+0xb3/0x120 [<c0177d26>] sync_sb_inodes+0x16/0x30 [<c0177ed9>] writeback_inodes+0x49/0x92 [<c013db8e>] balance_dirty_pages_ratelimited+0x8e/0x190 [<c01f3e7d>] item_balance_dirty_pages+0xbd/0x190 [<c01f9bdd>] write_extent+0x89d/0xf10 [<c0206fcb>] hint_validate+0xab/0xd0 [<c0206739>] equal_to_rdk+0x29/0x60 [<c01ea84f>] plugin_by_coord_node40+0x2f/0x40 [<c0207d13>] write_flow+0x253/0x460 [<c01f9340>] write_extent+0x0/0xf10 [<c01c8396>] all_grabbed2free+0x36/0x40 [<c0208148>] write_unix_file+0x178/0x2a0 [<c01dd72f>] reiser4_write+0x8f/0x100 [<c01dd6a0>] reiser4_write+0x0/0x100 [<c015642a>] vfs_write+0x10a/0x150 [<c0156522>] sys_write+0x42/0x70 [<c0108249>] sysenter_past_esp+0x52/0x71Signature · 2 lines
Jonathan Briggs [email protected]
Signature · 1 line
Alex.
Quoted 9 lines · Alex Zarochentsev
hi,
Quoted 6 lines · Jonathan Briggs
The software:
Linux kernel 2.6.3 with Reiser4 patch dated February 6th. Compiled with gcc 3.4.0 20040129
(I know the GCC is still in testing, but Reiser3 works fine with it, so...)
Quoted 4 lines
Quoted 2 lines
After I'd created a new Reiser4 filesystem, I was copying my backup files onto it. While I was doing that, it just stopped.
Did you create reiser4 on a loopback or RAID/LVM device?
I knew I should have included more details! Sorry... Yes, it was on a MD device on top of two SCSI drives. RAID 0.
I will also attach my kernel configuration, which I meant to do earlier.
Signature · 2 lines
Jonathan Briggs [email protected]
Quoted 10 lines · Jonathan Briggs
Quoted 9 lines · Alex Zarochentsev
hi,
Quoted 6 lines · Jonathan Briggs
The software:
Linux kernel 2.6.3 with Reiser4 patch dated February 6th. Compiled with gcc 3.4.0 20040129
(I know the GCC is still in testing, but Reiser3 works fine with it, so...)
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
After I'd created a new Reiser4 filesystem, I was copying my backup files onto it. While I was doing that, it just stopped.
Did you create reiser4 on a loopback or RAID/LVM device?
I knew I should have included more details! Sorry... Yes, it was on a MD device on top of two SCSI drives. RAID 0.
This is know problem. That snapshot does not work with RAID devices due to error in bio constructing code.
We are about releasing new snapshot which the fixes.
Signature · 1 line
Alex.