[XFS] Kernel (2.6.11) deadlock in user mode when writing data throughmmap on large files (64-bit systems)

From: Xavier Roche
Date: Tue May 10 2005 - 10:30:36 EST


Hi again,

It seems that this bug is _only_ related to XFS - EXT3 tests were successfull, but the same test run on an XFS filesystem crashed.


ngtest D ffff810078303468 0 20514 20505 (NOTLB)
ffff810078302eb8 0000000000000086 00000001013820a7 0000000000000008
0000000000000086 0000006e7c5cfe88 ffffffff805915c0 ffff81007fe095a0
000000000000006e ffff810002c1a780
Call Trace:<ffffffff80139d89>{__mod_timer+318} <ffffffff803782c2>{schedule_timeout+165}
<ffffffff8013a8d0>{process_timeout+0} <ffffffff803781ff>{io_schedule_timeout+49}
<ffffffff802b94cf>{blk_congestion_wait+151} <ffffffff80145f95>{autoremove_wake_function+0}
<ffffffff80145f95>{autoremove_wake_function+0} <ffffffff8022982e>{kmem_alloc+210}
<ffffffff802298cd>{kmem_realloc+43} <ffffffff8020d181>{xfs_iext_realloc+245}
<ffffffff801e62a8>{xfs_bmap_insert_exlist+53} <ffffffff801e7194>{xfs_bmap_add_extent_hole_real+949}
<ffffffff801e84df>{xfs_bmap_add_extent+4759} <ffffffff8021f92e>{xfs_trans_brelse+84}
<ffffffff8021faa8>{xfs_trans_log_buf+107} <ffffffff801dbb04>{xfs_alloc_ag_vextent+4013}
<ffffffff8022995c>{kmem_zone_alloc+70} <ffffffff801f215f>{xfs_btree_init_cursor+72}
<ffffffff801eb7b7>{xfs_bmapi+6221} <ffffffff801e8be8>{xfs_bmap_do_search_extents+778}
<ffffffff80210443>{xfs_iomap_write_direct+646} <ffffffff803786c7>{__down_write+129}
<ffffffff80145f95>{autoremove_wake_function+0} <ffffffff8020ff2d>{xfs_iomap+569}
<ffffffff802ba0ad>{submit_bio+221} <ffffffff80229b83>{xfs_map_blocks+66}
<ffffffff8022a844>{xfs_page_state_convert+996} <ffffffff8017281c>{__set_page_dirty_buffers+191}
<ffffffff801653c5>{page_referenced_file+209} <ffffffff80173958>{alloc_buffer_head+50}
<ffffffff80173fa5>{alloc_page_buffers+99} <ffffffff8022af95>{linvfs_writepage+179}
<ffffffff8015a457>{shrink_zone+3000} <ffffffff8022ab3d>{__linvfs_get_block+136}
<ffffffff80241fc2>{__memset+50} <ffffffff80192ed3>{do_mpage_readpage+949}
<ffffffff80157148>{do_drain+0} <ffffffff8012b801>{try_to_wake_up+755}
<ffffffff8023e937>{radix_tree_node_alloc+19} <ffffffff8023eb29>{radix_tree_insert+291}
<ffffffff8015aa0c>{try_to_free_pages+278} <ffffffff801534d8>{__alloc_pages+531}
<ffffffff8015575e>{__do_page_cache_readahead+215} <ffffffff8014fe07>{filemap_nopage+347}
<ffffffff8015f511>{do_no_page+984} <ffffffff8015f8e4>{handle_mm_fault+419}
<ffffffff80378992>{_spin_unlock_irqrestore+5} <ffffffff8011d090>{do_page_fault+1185}
<ffffffff8010dd9d>{error_exit+0}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/