From: David Howells Date: Fri, 3 Apr 2009 15:42:39 +0000 (+0100) Subject: CacheFiles: Permit the page lock state to be monitored X-Git-Tag: v2.6.30-rc1~229^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=385e1ca5f21c4680ad6a46a3aa2ea8af99e99c92;p=pandora-kernel.git CacheFiles: Permit the page lock state to be monitored Add a function to install a monitor on the page lock waitqueue for a particular page, thus allowing the page being unlocked to be detected. This is used by CacheFiles to detect read completion on a page in the backing filesystem so that it can then copy the data to the waiting netfs page. Signed-off-by: David Howells Acked-by: Steve Dickson Acked-by: Trond Myklebust Acked-by: Rik van Riel Acked-by: Al Viro Tested-by: Daire Byrne --- Reading git-diff-tree failed