Re: [PATCH] create/destroy io workqueues on module init/exit

Josef Bacik
2008-06-16T18:01:18Z

On Mon, Jun 16, 2008 at 01:54:23PM -0400, Josef Bacik wrote:
> Hello,
>
> Theres a problem with btrfs where if you have more than one btrfs fs's mounted,
> if you unmount one of the fs's, and then do some work on the other fs, the box
> will panic. This is because in close_ctree() we destroy the two global io
> workqueues, even though we're still using them for the other fs. This patch
> moves the creation/destruction of the workqueues to the init/exit parts of the
> btrfs module. I tested with this patch and my panic went away. Thanks,
>
> Signed-off-by: Josef Bacik <jbacik@redhat.com>
>
>

Hmm sorry I pulled down the stable repo, not the unstable, ignore this.

Josef