Btrfs: Handle data checksumming on bios that span multiple ordered extents
authorChris Mason <chris.mason@oracle.com>
Fri, 18 Jul 2008 10:17:13 +0000 (06:17 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:05 +0000 (11:04 -0400)
commit3edf7d33f4edb1e4a9bb0a4c0a84d95fb4d22a09
tree8698a6dd1d0d038f1b56f79c92783518d36f2145
parenteb84ae039e10f1f80443d846ba1350122bbdc753
Btrfs: Handle data checksumming on bios that span multiple ordered extents

Data checksumming is done right before the bio is sent down the IO stack,
which means a single bio might span more than one ordered extent.  In
this case, the checksumming data is split between two ordered extents.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/file-item.c
fs/btrfs/inode.c
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h