All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kitae Yoo <ryugitae777@gmail.com>
To: drbd-dev@lists.linux.dev
Subject: Re: [PATCH] drbd: fix resync stall when P_RS_CANCEL_AHEAD overtakes the state change
Date: Fri, 27 Nov 2026 16:40:19 +0900	[thread overview]
Message-ID: <20261127074019.53346-1-ryugitae777@gmail.com> (raw)
In-Reply-To: <20261126103713.45457-1-ryugitae777@gmail.com>

Hi,

More test data for this patch, on a setup the original notes did not
cover (more than two nodes, newer kernel):

  DRBD 9.3.4 (Ubuntu PPA 9.3.4-1ppa1~resolute1), kernel 7.0.0-43-generic,
  3 diskful nodes on one 1GbE LAN, replication over a WireGuard tunnel,
  protocol A, on-congestion pull-ahead, congestion-fill 8M,
  sndbuf-size 10M, 20G volume, resources managed by LINSTOR 1.35.2.

  Workload on the primary, after the initial sync had finished:
  12 bursts of 20s 64k random writes (fio, iodepth 16, direct I/O)
  with 5s pauses in between.

Unpatched, 4 runs: a resync stalled in every run. Each stalled target
sat at done:0.00 with about 4GB out of sync and "postponing
start_resync" repeating; in the first run both secondaries stalled at
the same time and stayed that way for more than 15 minutes until I
reconnected. In the run I inspected in detail, the target's log shows
the case 1 order from the patch notes. A disconnect/connect recovered
every time.

Patched module on all three nodes, 3 runs of the same workload:
0 stalls. Every "peer pulled ahead during resync" on a target was
followed by "peer back from ahead, resuming resync requests", and the
resync finished about 90s after the last burst. Online verify between
all three pairs found no differences after each run (patched and
unpatched).

The stale "postponing start_resync" messages from the side note still
show up with the patch, about 2000 lines per run on each target.

Thanks,
Kitae

      reply	other threads:[~2026-11-27  7:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-02  7:01 [PATCH] drbd: fix resync stall when P_RS_CANCEL_AHEAD overtakes the state change Kitae Yoo
2026-11-26 10:37 ` Kitae Yoo
2026-11-27  7:40   ` Kitae Yoo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127074019.53346-1-ryugitae777@gmail.com \
    --to=ryugitae777@gmail.com \
    --cc=drbd-dev@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.