From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) (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 E93551552E3 for ; Sat, 18 Jan 2025 10:00:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737194439; cv=none; b=WL9LStvaKgnw9UjPZ1qUB2dBqcfLbTth3oIyrRCkMaeF2mHDz7yRfxBbzo/SW7hq+jimHZN5Oc+NeMwk5gQAbB5LZblX+s+AqFzykPih7ckg1sKq6qXNy0VJj5WubYJj8Bof+rslY5Lt3MNryUS6KDl3z0Hmuvf4NwiD1/Em6RQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737194439; c=relaxed/simple; bh=1CKjoC61DsdZ/dOV9au4mXeUpJDgxSjBG7C0mAnUAHs=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=drnBi8+W3SsKxuJwRu8361AxbBpvQLuZoEroPKZIfTcxYrQc60j7zmqfvRDuxbUOClrUyoPe7TrjfQsb74oAAS7pvjYXYO5Mvr5VqFlN7VfdxtTzrZOfxkEbq783k9pUHa7qrOysyRirZ4hfH5rzPWzeyLMukVhe3cwBFSMEx9s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.252]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4YZs681kxyzrSVT; Sat, 18 Jan 2025 17:40:32 +0800 (CST) Received: from kwepemd200010.china.huawei.com (unknown [7.221.188.124]) by mail.maildlp.com (Postfix) with ESMTPS id D5E49180217; Sat, 18 Jan 2025 17:42:11 +0800 (CST) Received: from kwepemd500012.china.huawei.com (7.221.188.25) by kwepemd200010.china.huawei.com (7.221.188.124) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Sat, 18 Jan 2025 17:42:11 +0800 Received: from kwepemd500012.china.huawei.com ([7.221.188.25]) by kwepemd500012.china.huawei.com ([7.221.188.25]) with mapi id 15.02.1258.034; Sat, 18 Jan 2025 17:42:11 +0800 From: lizetao To: Jens Axboe , Pavel Begunkov CC: "io-uring@vger.kernel.org" Subject: RE: [PATCH] test/defer: fix deadlock when io_uring_submit fail Thread-Topic: [PATCH] test/defer: fix deadlock when io_uring_submit fail Thread-Index: AdtnTle0AdCKvQv4QCG1RPRIudIQwwAlLjSAAGp9rIA= Date: Sat, 18 Jan 2025 09:42:11 +0000 Message-ID: References: <77ab74b3fdff491db2a5596b1edc86b6@huawei.com> <70895666-4ec5-4a2e-a9c2-33c296087beb@kernel.dk> In-Reply-To: <70895666-4ec5-4a2e-a9c2-33c296087beb@kernel.dk> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogSmVucyBBeGJvZSA8 YXhib2VAa2VybmVsLmRrPg0KPiBTZW50OiBUaHVyc2RheSwgSmFudWFyeSAxNiwgMjAyNSAxMDo1 MSBQTQ0KPiBUbzogbGl6ZXRhbyA8bGl6ZXRhbzFAaHVhd2VpLmN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