Skip to content
Commit eaf25d93 authored by Chris Mason's avatar Chris Mason
Browse files

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: default avatarChris Mason <chris.mason@oracle.com>
parent ed3b3d31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment