Btrfs: Checksum tree blocks in the background
authorChris Mason <chris.mason@oracle.com>
Tue, 23 Sep 2008 17:14:12 +0000 (13:14 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:07 +0000 (11:04 -0400)
commitce3ed71a58094544da1e1dc4723f1f553bb5b2d5
tree8622438279a58a424782a5267eac73a0983144ad
parent0f9dd46cda36b8de3b9f48bc42bd09d20b9c3b52
Btrfs: Checksum tree blocks in the background

Tree blocks were using async bio submission, but the sum was still
being done directly during writepage.  This moves the checksumming
into the worker thread.

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