Re: Hang running fs_mark

2008-09-26 Thread Chris Mason
On Thu, 2008-09-25 at 21:01 -0400, Ric Wheeler wrote: Chris Mason wrote: On Thu, 2008-09-25 at 18:58 -0400, Ric Wheeler wrote: I'm at 6.9 million files so far on a 500GB disk, and not surprisingly, I get 155 files/sec ;) My hope is that we're spinning around due to bad accounting

[PATCH] fix deadlock between alloc_mutex/chunk_mutex

2008-09-26 Thread Josef Bacik
Hello, This fixes a deadlock that happens between the alloc_mutex and chunk_mutex. Process A comes in, decides to do a do_chunk_alloc, which takes the chunk_mutex, and is holding the alloc_mutex because the only way you get to do_chunk_alloc is by holding the alloc_mutex. btrfs_alloc_chunk does

[BUG] kernel BUG at btrfs/extent-tree.c:2462

2008-09-26 Thread Diego Rosario Brogna
hi doing a defragmentation on a full disk ( fs_mark -d test -s 20480 -D 64 -t 8 -F ) btrfsctl return with segmentation fault, the filesystem becomes unresponsive and dmesg show this kernel BUG: [16790.147270] space info full 1 [39828.979719] space info full 4 [39828.979725] allocation failed