diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2014-09-03 14:41:45 +0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-10-14 21:03:19 +0400 |
commit | 2cc6128ab2afff7864dbdc33a73e2deaa935d9e0 (patch) | |
tree | ec01f8fa1901e90dd86b79184e680b3b327ad28d /net/ceph/osdmap.c | |
parent | f671b581f1dac61354186b7373af5f97fe420584 (diff) | |
download | linux-2cc6128ab2afff7864dbdc33a73e2deaa935d9e0.tar.bz2 |
libceph: resend lingering requests with a new tid
Both not yet registered (r_linger && list_empty(&r_linger_item)) and
registered linger requests should use the new tid on resend to avoid
the dup op detection logic on the OSDs, yet we were doing this only for
"registered" case. Factor out and simplify the "registered" logic and
use the new helper for "not registered" case as well.
Fixes: http://tracker.ceph.com/issues/8806
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Diffstat (limited to 'net/ceph/osdmap.c')
0 files changed, 0 insertions, 0 deletions