From: Brian Foster Date: Tue, 6 Nov 2012 14:50:47 +0000 (-0500) Subject: xfs: add background scanning to clear eofblocks inodes X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~55^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=579b62faa5fb16ffeeb88cda5e2c4e95730881af;p=pandora-kernel.git xfs: add background scanning to clear eofblocks inodes Create a new mount workqueue and delayed_work to enable background scanning and freeing of eofblocks inodes. The scanner kicks in once speculative preallocation occurs and stops requeueing itself when no eofblocks inodes exist. The scan interval is based on the new 'speculative_prealloc_lifetime' tunable (default to 5m). The background scanner performs unfiltered, best effort scans (which skips inodes under lock contention or with a dirty cache mapping). Signed-off-by: Brian Foster Reviewed-by: Mark Tinguely Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- Reading git-diff-tree failed