Re: umount oops

2008-07-25 Thread Lukas Vacek
sorry, I made a typo in the testcase (the second mount) Basically, it might be enough to mount two different btrfs filesystems to two different locations, umount one of them and watch /var/log/kern.log for the oops dd if=/dev/zero of=mountme bs=4k count=10 dd if=/dev/zero of=mountme2 bs=4k

Re: umount oops

2008-07-25 Thread Chris Mason
On Fri, 2008-07-25 at 13:14 +0200, Lukas Vacek wrote: sorry, I made a typo in the testcase (the second mount) Basically, it might be enough to mount two different btrfs filesystems to two different locations, umount one of them and watch /var/log/kern.log for the oops Thanks for this bug

Re: [PATCH] async-thread: fix possible memory leak

2008-07-25 Thread Chris Mason
On Fri, 2008-07-25 at 13:34 +0800, Li Zefan wrote: When kthread_run() returns failure, this worker hasn't been added to the list, so btrfs_stop_workers() won't free it. Thanks, I've queued this one up for inclusion. -chris -- To unsubscribe from this list: send the line unsubscribe

Re: New data=ordered code pushed out to btrfs-unstable

2008-07-25 Thread Chris Mason
On Mon, 2008-07-21 at 15:23 -0400, Ric Wheeler wrote: [ lock timeouts and stalls ] Ok, I've made a few changes that should lower overall contenion on the allocation mutex. I'm getting better performance on a 3 million file run, please give it a shot. After an update, clean

[PATCH] btrfs-progs: add orphan support to print-tree

2008-07-25 Thread Josef Bacik
Hello, This adds orphan support to print-tree so when debug_tree hits an orphan item it will print out orphan item under it so you know what it is. Thanks, Josef diff -r e08f2f90e4f8 ctree.h --- a/ctree.h Thu Jul 24 13:52:04 2008 -0400 +++ b/ctree.h Fri Jul 25 16:18:38 2008 -0400 @@ -54,6

Re: umount oops

2008-07-25 Thread Chris Mason
On Fri, 2008-07-25 at 15:54 +0200, Lukas Vacek wrote: the newest in the mercurial repo changeset: 558:9da425337329 tag: tip This should be fixed by the unstable tree, the transaction work queues were not properly being torn down. -chris -- To unsubscribe from this list: send the

Re: [PATCH] initial version of reference cache

2008-07-25 Thread Yan Zheng
I miss two new created files in previous patch, please use this one. Thanks --- diff -r eb4767aa190e Makefile --- a/Makefile Thu Jul 24 12:25:50 2008 -0400 +++ b/Makefile Sat Jul 26 03:47:26 2008 +0800 @@ -6,7 +6,8 @@ btrfs-y := super.o ctree.o extent-tree.o hash.o file-item.o

Re: [PATCH] initial version of reference cache

2008-07-25 Thread Chris Mason
On Fri, 2008-07-25 at 14:29 -0500, Yan Zheng wrote: Hello, This is the initial version of leaf reference cache. The cache stores leaf node's extent references in memory, this can improve the performance of snapshot dropping. Outlines of this patch are (1) allocate struct dirty_root when