]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Btrfs: readahead checksums during btrfs_finish_ordered_io
authorChris Mason <chris.mason@oracle.com>
Fri, 13 Mar 2009 15:41:46 +0000 (11:41 -0400)
committerChris Mason <chris.mason@oracle.com>
Tue, 24 Mar 2009 20:14:51 +0000 (16:14 -0400)
commit5d13a98f3bf5afc1113f7db184c627a44659bc29
tree1b9e7f2ed6047e9f471fd6f3b9e665c74dd5910b
parentb9473439d3e84d9fc1a0a83faca69cc1b7566341
Btrfs: readahead checksums during btrfs_finish_ordered_io

This reads in blocks in the checksum btree before starting the
transaction in btrfs_finish_ordered_io.  It makes it much more likely
we'll be able to do operations inside the transaction without
needing any btree reads, which limits transaction latencies overall.

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