From: Chris Mason Date: Tue, 25 May 2010 13:48:28 +0000 (-0400) Subject: Btrfs: use async helpers for DIO write checksumming X-Git-Tag: v2.6.35-rc1~36^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaf25d933e64c2bf3c79b83e8820404f36fdfc52;p=pandora-kernel.git Btrfs: use async helpers for DIO write checksumming The async helper threads offload crc work onto all the CPUs, and make streaming writes much faster. This changes the O_DIRECT write code to use them. The only small complication was that we need to pass in the logical offset in the file for each bio, because we can't find it in the bio's pages. Signed-off-by: Chris Mason --- Reading git-diff-tree failed