Re: [PATCH v3 19/21] nvme-tcp: Extend FENCING state per TP4129 on CCR failure
From: Hannes Reinecke
Date: Mon Feb 16 2026 - 07:56:31 EST
On 2/14/26 05:25, Mohamed Khalfella wrote:
If CCR operations fail and CQT is supported, we must defer the retry ofCan't you merge / integrate this into the nvme_fence_ctrl() routine?
inflight requests per TP4129. Update ctrl->fencing_work to schedule
ctrl->fenced_work, effectively extending the FENCING state. This delay
ensures that inflight requests are held until it is safe for them to be
retired.
Signed-off-by: Mohamed Khalfella <mkhalfella@xxxxxxxxxxxxxxx>
---
drivers/nvme/host/tcp.c | 39 +++++++++++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)
The previous patch already extended the timeout to cover for CQT, so
we can just wait for the timeout if CCR failed, no?
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich