Skip to content

Commit

Permalink
libceph: don't omit recovery_deletes in target_copy()
Browse files Browse the repository at this point in the history
Currently target_copy() is used only for sending linger pings, so
this doesn't come up, but generally omitting recovery_deletes can
result in unneeded resends (force_resend in calc_target()).

Fixes: ae78dd8 ("libceph: make RECOVERY_DELETES feature create a new interval")
Signed-off-by: Ilya Dryomov <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
  • Loading branch information
idryomov committed Jun 16, 2020
1 parent 22d2cfd commit 2f3fead
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ceph/osd_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ static void target_copy(struct ceph_osd_request_target *dest,
dest->size = src->size;
dest->min_size = src->min_size;
dest->sort_bitwise = src->sort_bitwise;
dest->recovery_deletes = src->recovery_deletes;

dest->flags = src->flags;
dest->paused = src->paused;
Expand Down

0 comments on commit 2f3fead

Please sign in to comment.