From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailgw.kylinos.cn (mailgw.kylinos.cn [124.126.103.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F7A84B049C for ; Wed, 19 Aug 2026 06:44:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=124.126.103.232 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787121898; cv=none; b=Wsyg+EIBTq8kZ2dOPiQ6YwVHVaOTG9qW5bfdfykX1A4PjEB2M1P17GA6nCSvmMLLEtRmxT41jwaIjywN5f3y3Fs7DNDqgJFfXnA4WpY2FDZWoaRxLUZNLC4vwZaIYTLCNiqI4GFy8omla/hSucnQ8AkkFJ8svL+3T253xpjT9U8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787121898; c=relaxed/simple; bh=liz6ciPjgB+HkwooMyaCQjz0Cs/lzsLrhdI2N+RzoBQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=dVmJSF9Q/tRA9txh3fJEL9GCuKFOSA74pqPAB6/I3kV/wjrWSvsQQOnatPV4pSRd9hfESFz5WXhUZOZ9qxsPvrQddr5T+ON99wRjvPL9q4pumC2J98J9yTq/OlsfU/dQgvBX6mDQizjPaqyHdzjbJ/kByBv0LdAArWGV2Je5qrs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn; spf=pass smtp.mailfrom=kylinos.cn; arc=none smtp.client-ip=124.126.103.232 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kylinos.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kylinos.cn X-UUID: 7a4a47449b9911f19a56ed5b684f684d-20260819 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.3.19,REQID:9d47f9ec-f4eb-49b9-a9aa-63616eada200,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:7db8b62,CLOUDID:8680156d63706c8edac0203147788cea,BulkI D:nil,BulkQuantity:0,SF:81|82|102|136|865|898,TC:nil,Content:0|15|50,EDM:- 3|-100,IP:nil,URL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OS A:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0 X-CID-BVR: 2,SSN|SDN X-CID-BAS: 2,SSN|SDN,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-CID-RHF: D41D8CD98F00B204E9800998ECF8427E X-UUID: 7a4a47449b9911f19a56ed5b684f684d-20260819 X-User: liuxixin@kylinos.cn Received: from [127.0.1.1] [(10.44.16.150)] by mailgw.kylinos.cn (envelope-from ) (Generic MTA with TLSv1.3 TLS_AES_256_GCM_SHA384 256/256) with ESMTP id 636558454; Wed, 19 Aug 2026 14:44:50 +0800 From: Xixin Liu To: linux-nvme@lists.infradead.org Cc: kbusch@kernel.org, axboe@kernel.dk, hch@lst.de, sagi@grimberg.me, linux-kernel@vger.kernel.org, liuxixin@kylinos.cn Subject: [PATCH v2 0/1] nvme-rdma: fix -EIO cleanup order in queue_rq Date: Wed, 19 Aug 2026 14:30:00 +0800 Message-ID: In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailer: patches/scripts/send-local.py Hi, Thanks Christoph for the if/else readability suggestion on the RESOURCE versus IOERR branch. Changes since v1: - use if/else for RESOURCE versus IOERR as suggested by Christoph - initialize err to 0 for the shared unmap_qe path Thanks, Xixin Liu --- Xixin Liu (1): nvme-rdma: fix -EIO cleanup order in queue_rq drivers/nvme/host/rdma.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) -- 2.53.0