From: Chris Mason Date: Wed, 30 Apr 2008 17:59:35 +0000 (-0400) Subject: Btrfs: Fixes for 2.6.18 enterprise kernels X-Git-Tag: v2.6.29-rc1~27^2~9^2~55^2~56^2~30^2~189 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6bfde8765668c8687de72f7a40f52acdf4f2f19;p=pandora-kernel.git Btrfs: Fixes for 2.6.18 enterprise kernels 2.6.18 seems to get caught in an infinite loop when cancel_rearming_delayed_workqueue is called more than once, so this switches to cancel_delayed_work, which is arguably more correct. Also, balance_dirty_pages can run into problems with 2.6.18 based kernels because it doesn't have the per-bdi dirty limits. This avoids calling balance_dirty_pages on the btree inode unless there is actually something to balance, which is a good optimization in general. Finally there's a compile fix for ordered-data.h Signed-off-by: Chris Mason --- Reading git-diff-tree failed