mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
libceph: don't omit recovery_deletes in target_copy()
commit2f3fead621
upstream. 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:ae78dd8139
("libceph: make RECOVERY_DELETES feature create a new interval") Signed-off-by: Ilya Dryomov <idryomov@gmail.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d2ccad3c9c
commit
07253d24cd
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue