aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-07-18 06:17:13 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:05 -0400
commit3edf7d33f4edb1e4a9bb0a4c0a84d95fb4d22a09 (patch)
tree8698a6dd1d0d038f1b56f79c92783518d36f2145 /fs/btrfs/ctree.h
parenteb84ae039e10f1f80443d846ba1350122bbdc753 (diff)
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>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index acbce542d291..96ab2797c09a 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -1579,8 +1579,8 @@ int btrfs_lookup_file_extent(struct btrfs_trans_handle *trans,
1579int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans, 1579int btrfs_csum_file_blocks(struct btrfs_trans_handle *trans,
1580 struct btrfs_root *root, struct inode *inode, 1580 struct btrfs_root *root, struct inode *inode,
1581 struct btrfs_ordered_sum *sums); 1581 struct btrfs_ordered_sum *sums);
1582int btrfs_csum_one_bio(struct btrfs_root *root, 1582int btrfs_csum_one_bio(struct btrfs_root *root, struct inode *inode,
1583 struct bio *bio, struct btrfs_ordered_sum **sums_ret); 1583 struct bio *bio);
1584struct btrfs_csum_item *btrfs_lookup_csum(struct btrfs_trans_handle *trans, 1584struct btrfs_csum_item *btrfs_lookup_csum(struct btrfs_trans_handle *trans,
1585 struct btrfs_root *root, 1585 struct btrfs_root *root,
1586 struct btrfs_path *path, 1586 struct btrfs_path *path,