diff options
author | Ilya Dryomov <idryomov@redhat.com> | 2014-11-05 15:45:58 +0300 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-11-13 22:21:14 +0300 |
commit | ba9d114ec5578e6e99a4dfa37ff8ae688040fd64 (patch) | |
tree | afdc6c5bbf5c1f690498e22908f3492f50f950d8 /lib/mpi/mpi-pow.c | |
parent | a390de0208e7f2f8fdb2fbf970240e4f7b308037 (diff) |
libceph: clear r_req_lru_item in __unregister_linger_request()
kick_requests() can put linger requests on the notarget list. This
means we need to clear the much-overloaded req->r_req_lru_item in
__unregister_linger_request() as well, or we get an assertion failure
in ceph_osdc_release_request() - !list_empty(&req->r_req_lru_item).
AFAICT the assumption was that registered linger requests cannot be on
any of req->r_req_lru_item lists, but that's clearly not the case.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions