From: NeilBrown Date: Tue, 4 Aug 2009 05:22:38 +0000 (+1000) Subject: sunrpc/cache: make sure deferred requests eventually get revisited. X-Git-Tag: v2.6.32-rc1~412^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c4d26390341732a8d614141a4cf4663610a1698;p=pandora-kernel.git sunrpc/cache: make sure deferred requests eventually get revisited. While deferred requests normally get revisited quite quickly, it is possible for a request to remain in the deferral queue when the cache item is discarded. We can easily make sure that doesn't happen by calling cache_revisit_request just before the final 'put'. Also there is a small chance that a race would cause one thread to defer a request against a cache item while another thread is failing to queue an upcall for that item. So when the upcall fails, make sure to revisit all deferred requests. Signed-off-by: NeilBrown Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed