Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
drbd
bsc-1189995-03_drbd-Fix-handing-of-P_NEG_RS_DRE...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bsc-1189995-03_drbd-Fix-handing-of-P_NEG_RS_DREPLY-packet.patch of Package drbd
From eceb2bc40a31f06acdd8d3d12dd36156934ede04 Mon Sep 17 00:00:00 2001 From: Philipp Reisner <philipp.reisner@linbit.com> Date: Tue, 22 Sep 2020 11:42:08 +0200 Subject: [PATCH] drbd: Fix handing of P_NEG_RS_DREPLY packet This code path needs to call rs_sectors_came_in() as in the cases for P_RS_CANCEL_AHEAD and P_RS_CANCEL. One of the consequences of not doing so is usually that the resync is stuck. --- drbd/drbd_receiver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drbd/drbd_receiver.c b/drbd/drbd_receiver.c index 18d9fb1d4e08..a9c0a610a2a0 100644 --- a/drbd/drbd_receiver.c +++ b/drbd/drbd_receiver.c @@ -8898,12 +8898,12 @@ static int got_NegRSDReply(struct drbd_connection *connection, struct packet_inf mutex_unlock(&peer_device->resync_next_bit_mutex); } - rs_sectors_came_in(peer_device, size); - mod_timer(&peer_device->resync_timer, jiffies + RS_MAKE_REQS_INTV); break; default: BUG(); } + rs_sectors_came_in(peer_device, size); + mod_timer(&peer_device->resync_timer, jiffies + RS_MAKE_REQS_INTV); put_ldev(device); } -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor