diff options
author | NeilBrown <neilb@suse.de> | 2009-08-04 15:22:38 +1000 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-08-04 11:03:01 -0400 |
commit | 5c4d26390341732a8d614141a4cf4663610a1698 (patch) | |
tree | 1361af921aadc75c1a1fa1a23eb83292dcad8130 /security/lsm_audit.c | |
parent | f866a8194f7cbabb9135b98b9ac7d26237b88367 (diff) |
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 <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions