From: Sage Weil Date: Thu, 12 Nov 2009 23:07:24 +0000 (-0800) Subject: ceph: fix page invalidation deadlock X-Git-Tag: v2.6.34-rc2~9^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11ea8eda064aa4dc6e44a6dade1891b69ebd5255;p=pandora-kernel.git ceph: fix page invalidation deadlock We occasionally want to make a best-effort attempt to invalidate cache pages without fear of blocking. If this fails, we fall back to an async invalidate in another thread. Use invalidate_mapping_pages instead of invalidate_inode_page2, as that will skip locked pages, and not deadlock. Signed-off-by: Sage Weil --- Reading git-diff-tree failed