Btrfs: Add a thread pool just for submit_bio
authorChris Mason <chris.mason@oracle.com>
Thu, 12 Jun 2008 18:46:17 +0000 (14:46 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:03 +0000 (11:04 -0400)
If a bio submission is after a lock holder waiting for the bio
on the work queue, it is possible to deadlock.  Move the bios
into their own pool.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/volumes.c

Simple merge
Simple merge
Simple merge