[PATCH] Function btree_get_extent: Incorrect if-else if statement

2010-08-09 Thread André Nogueira
The btree_get_extent function (in file disk-io.c) calls the add_extent_mapping (in file extent_map.c). The add_extent_mapping function can return two values: 0 or -EEXIST. After the call, it is used an if-else if statement. If the result is -EEXIST, the if statement is executed. If the result is

Re: Poor read performance on high-end server

2010-08-09 Thread Freek Dijkstra
Hi all, Thanks a lot for the great feedback from before the weekend. Since one of my colleagues needed the machine, I could only do the tests today. In short: just installing 2.6.35 did make some difference, but I was mostly impressed with the speedup gained by the hardware acceleration of the

Code bug or data bug?

2010-08-09 Thread K. Richard Pixley
I've just gotten: r...@diamonds:~$ time sudo /sbin/btrfsck /dev/sda7 btrfsck: btrfsck.c:585: splice_shared_node: Assertion `!(src == src_node-root_cache)' failed. Aborted Does this indicate a coding error in btrfsck or a data error in my file system? --rich r...@diamonds:~$ dpkg -l |

Re: Recover Corruption - verify_parent_transid

2010-08-09 Thread A. James Lewis
Not being one of the developers on this project, I cannot offer you a solution to recovering data from this volume, and my guess is that a ready solution is unlikely to be forthcoming simply because if this was possible then btrfsck would include the code to recover the filesystem already.