From: Chris Mason Date: Fri, 29 Oct 2010 15:16:17 +0000 (-0400) Subject: Add new functions for triggering inode writeback X-Git-Tag: v2.6.37-rc1~19^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3259f8bed2f0f57c2fdcdac1b510c3fa319ef97e;p=pandora-kernel.git Add new functions for triggering inode writeback When btrfs is running low on metadata space, it needs to force delayed allocation pages to disk. It currently does this with a suboptimal walk of a private list of inodes with delayed allocation, and it would be much better if we used the generic flusher threads. writeback_inodes_sb_if_idle would be ideal, but it waits for the flusher thread to start IO on all the dirty pages in the FS before it returns. This adds variants of writeback_inodes_sb* that allow the caller to control how many pages get sent down. Signed-off-by: Chris Mason --- Reading git-diff-tree failed