]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Btrfs: only flush down bios for writeback pages
authorChris Mason <chris.mason@oracle.com>
Thu, 20 Nov 2008 15:46:35 +0000 (10:46 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 20 Nov 2008 15:46:35 +0000 (10:46 -0500)
commit0e6bd956ed238eb2f69386f251847fe3163532e1
tree72b99621e0d4f187aca1214b0a5faa9a71768efd
parent43dd729b862f4a053310f75d3ee559b678772f59
Btrfs: only flush down bios for writeback pages

The btrfs write_cache_pages call has a flush function so that it submits
the bio it has been building before it waits on any writeback pages.

This adds a check so that flush only happens on writeback pages.

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