Skip to content

Commit

Permalink
Merge drbd-9.1/9199c02e7 'drbd: Fix a corner case leading to a hangin…
Browse files Browse the repository at this point in the history
…g resync'
  • Loading branch information
Philipp-Reisner committed Feb 27, 2024
2 parents c754d10 + 9199c02 commit 367b97a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drbd/drbd_receiver.c
Original file line number Diff line number Diff line change
Expand Up @@ -8695,6 +8695,8 @@ static int receive_out_of_sync(struct drbd_connection *connection, struct packet
unsigned long bit = BM_SECT_TO_BIT(sector);
if (bit < peer_device->resync_next_bit)
peer_device->resync_next_bit = bit;
if (!timer_pending(&peer_device->resync_timer))
mod_timer(&peer_device->resync_timer, jiffies + 1);
}

drbd_set_out_of_sync(peer_device, sector, be32_to_cpu(p->blksize));
Expand Down

0 comments on commit 367b97a

Please sign in to comment.