From: Chris Mason Date: Mon, 21 Jul 2008 14:29:44 +0000 (-0400) Subject: Btrfs: Data ordered fixes X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a09675279674041862d2210635b0cc1f60be28e;p=pandora-kernel.git Btrfs: Data ordered fixes * In btrfs_delete_inode, wait for ordered extents after calling truncate_inode_pages. This is much faster, and more correct * Properly clear our the PageChecked bit everywhere we redirty the page. * Change the writepage fixup handler to lock the page range and check to see if an ordered extent had been inserted since the improperly dirtied page was discovered * Wait for ordered extents outside the transaction. This isn't required for locking rules but does improve transaction latencies * Reduce contention on the alloc_mutex by dropping it while incrementing refs on a node/leaf and while dropping refs on a leaf. Signed-off-by: Chris Mason --- Reading git-diff-tree failed