From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) (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 0D37EF9EC; Tue, 7 Jan 2025 02:04:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.187 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736215448; cv=none; b=rXXRJEoYZz9+D+rT951LB7POfWV0hfZ1dQmkmM9JQ8uJxIkQKAcCmIs4nJMS5rfPg8W/z0ore1WDxrILaVhzNPbKUP0oBlmOBfJALG5F8idcewSscUmz9QC6EdXrZoeNQ+oaIr1xdmx1WAHFEpLQB6agzKqqHv1H8J3uHQ7h/48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736215448; c=relaxed/simple; bh=X0k4gALR4W67fEYRvPK9D71X+PUBn138vMjmLJh589g=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=pMOLW5cgVmnrKzHS//sy9hQ60ud2hZVu3pFhRZtI8h7jzrf54qMeMnclcuseCco/sTD4VPOKJWiNxYTg8jtx3w0so+06ri0foYLAAz2Dv4F45AUxgi/AIk2mtcC55BsT8LrUtcN62pDbaZzg1J4N4DIpLBE0N+GUer7j3Wqpzns= 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.187 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.162.254]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4YRvR85NQWz11RtG; Tue, 7 Jan 2025 10:01:08 +0800 (CST) Received: from kwepemd200010.china.huawei.com (unknown [7.221.188.124]) by mail.maildlp.com (Postfix) with ESMTPS id 1D89618010A; Tue, 7 Jan 2025 10:04:02 +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; Tue, 7 Jan 2025 10:04:01 +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; Tue, 7 Jan 2025 10:04:01 +0800 From: lizetao To: Jens Axboe , Mark Harmstone CC: "linux-btrfs@vger.kernel.org" , "io-uring@vger.kernel.org" Subject: RE: [PATCH 2/4] io_uring/cmd: add per-op data to struct io_uring_cmd_data Thread-Topic: [PATCH 2/4] io_uring/cmd: add per-op data to struct io_uring_cmd_data Thread-Index: AQHbXfCReYc9ryeva0GJNdEZEtgE0rMJtTwg//+cPACAAUBcQA== Date: Tue, 7 Jan 2025 02:04:01 +0000 Message-ID: <3e2e277ed6bf40ae87890b41133f5314@huawei.com> References: <20250103150233.2340306-1-maharmstone@fb.com> <20250103150233.2340306-3-maharmstone@fb.com> <974022e6b52a4ae39f10ea4410dd8e25@huawei.com> <01b838d9-485f-47a5-9ee6-f2d79f71ae32@kernel.dk> In-Reply-To: <01b838d9-485f-47a5-9ee6-f2d79f71ae32@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 YXhib2VAa2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