Re: [PATCH 0/2] ocfs2: harden heartbeat teardown races

From: Cen Zhang

Date: Sun Jul 26 2026 - 23:13:21 EST


Hi,

Joseph Qi <joseph.qi@xxxxxxxxxxxxxxxxx> 于2026年7月26日周日 14:58写道:
>
> Not sure how it conflicts. The 2 patches can be applied cleanly in my
> devel tree, on top of my o2hb_region_pin fixes.
>
> Cen, could you please verify it on the latest linux-next?

I reproduced the reported failure using the exact baselines reported by Sashiko:

linux-next/HEAD 4e5dfb7c84012007c3c7061126491bbc92d71bf1
HEAD 062871f1371b2e02a272ff5279c6479aff0a37ef

On both baselines, patch 1/2 applies successfully, while patch 2/2
fails in fs/ocfs2/cluster/heartbeat.c.

The failure is caused by a missing prerequisite rather than an
incompatibility with linux-next. This series depends on:

[PATCH v2] ocfs2/cluster: keep heartbeat local node stable
Message-Id: <20260616074931.3774929-1-zzzccc427@xxxxxxxxx>

Without this prerequisite, the baseline still has the three-argument
form of o2hb_send_nego_msg(), while patch 2 assumes the four-argument
form introduced by the prerequisite. As a result, the three-way merge
conflicts.

After applying the prerequisite first, the 0/2 series applies cleanly
on Sashiko's linux-next baseline, commit 4e5dfb7c8401.

Best regards,
Cen Zhang