Skip to content

libceph: lingering request fixes for 4.1

Ilya Dryomov ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2libceph: request a new osdmap if lingering request maps to no osdnet/ceph/osd_client.c+20 -113 replies
2/2Revert "libceph: clear r_req_lru_item in __unregister_linger_request()"net/ceph/osd_client.c+0 -21 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSage Weil
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] libceph: lingering request fixes for 4.1

Hello,

Trying to understand how watch/notify works for his v2 work, Doug tried a simple test which uncovered a regression in lingering request requeue code dating back to 3.18. As it pretty much always is, a one liner is all it took. The reason it went unnoticed is we can't thrash it because of watch/notify v1 limitations and the last round of manual testing I did was around 3.16-3.17 after a bunch of fixes in that area, so only osd-requeue (as opposed to osdmap-requeue) path was stressed.

While investigating it I found another problem, which probably goes all the way back to the addition of watch/notify and that is what the first patch is for. The regression itself is fixed by a revert, with the ground for it set up in the first patch. Both are marked for stable and will be backported together.

Thanks,

Ilya

Ilya Dryomov (2):
libceph: request a new osdmap if lingering request maps to no osd Revert "libceph: clear r_req_lru_item in
__unregister_linger_request()"

 net/ceph/osd_client.c | 33 ++++++++++++++++++++-------------
 1 file changed, 20 insertions(+), 13 deletions(-)
Signature · 1 line
1.9.3