From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (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 F34B1101DB for ; Wed, 4 Oct 2023 14:56:17 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 945C73200AB0; Wed, 4 Oct 2023 10:56:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 04 Oct 2023 10:56:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ftml.net; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm2; t= 1696431375; x=1696517775; bh=E81iGMeNa+pNgKEkt1KkyiV7Sh5faYo5JX4 pY/PFDew=; b=lpTrPM7sGkdmKIxZMmVxe6Eij5ocLE05ifOF7+fTaJoqwmaR9DC 3omv1FtZIMcv0Q4KeKkXYfUh3bnHqwEZQO+4RmN8BWgd7HcQ8eNX8rsZOHD9UAJE 5Hn4FGqRQOKxKDaIKZzDkcEJ+Y3OKSPUbTwFNRaA8ZTxSsjPFdUYwQpQ/II9nWrg i/hmeIqWrviPO0zwHsWOsnzoB5LBypT8kWLIHM6ehEqkrNGllczhwF9cq2MHywnT Lt6AKvnaN2gzA4Yb42pgSHlz6Xc3RjSHvbD4bTcywff1HGQ/SitCKQ/pmTUyoPku KI2Jg8VAv9JZvxBZqC0MqafNjKkerQn1lSg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1696431375; x=1696517775; bh=E81iGMeNa+pNgKEkt1KkyiV7Sh5faYo5JX4 pY/PFDew=; b=Wv464ROziTRdG3i/7r2TG9cDUxlYV//R+b+h9c6Grk03YU5IwdG SegVxKIsosXLXyxdYoGXhwqTD770uMrOzo7duqeyK6cuf4wYoweNBpLrZLNKuLje I3Tb8CoikGOBgbPRPkLw7hZsqX9AhK4CwWnKLKzbGWbgXLG1PsG/8eCTvqWuXvIk i2ZBNaB6RrXUsUlta4RGR1NuA3I1KjTrQXoIPQMZGpGsnwvTo6epr0P5Ab9/vZLT hzmfVXyzgJvk/+/xEssxunwAAp/uTBGY04SbT6QFtxsCsBg22ggLRVpUtxx0Y+MC scAnPDpuLvInDjWK0kp7n6MpI2VZgNYNr9A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrgedvgdekudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegggfgtfffkhffuvefvofhfjgesthhqredtredtjeenucfhrhhomhepfdfmohhn shhtrghnthhinhcuufhhvghlvghkhhhinhdfuceokhdrshhhvghlvghkhhhinhesfhhtmh hlrdhnvghtqeenucggtffrrghtthgvrhhnpeelhfdttdekudekffeuffektddvueeuffeh ieelffdufedvvefftdefffeggfelgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehkrdhshhgvlhgvkhhhihhnsehfthhmlhdrnhgvth X-ME-Proxy: Feedback-ID: ib7794740:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 4 Oct 2023 10:56:12 -0400 (EDT) Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 04 Oct 2023 17:56:09 +0300 Message-Id: From: "Konstantin Shelekhin" Subject: Re: [PATCH v4 7/7] rust: workqueue: add examples Cc: "Alice Ryhl" , , , , , , , , , , , , , To: "Boqun Feng" X-Mailer: aerc 0.15.2.r182.g389d89a References: <20231003222947.374039-1-aliceryhl@google.com> In-Reply-To: > This is not a problem until nvmet actually uses/switches to Rust, right? > ;-) We can certainly improve the API when a real user needs something. > Or you know someone is already working on this? Nope, not at this moment. I have an itch to experiment with Rust and iSCSI, but that's my personal toy without any plans to at least propose it to the subsystem maintainers yet. > All of your suggestions make senses to me, but because we don't have > many users right now, it's actually hard to determine a "best" API. I > like what we have right now because it's explicit: people won't need to > learn much about procedure macros to understand how it works, and it > also provides better opportunities for people who's yet not familiar > with Rust to give some reviews. So starting with something relatively > simple and verbose may not be a bad idea ;-) > > Again, I like your idea, we need to explore that direction, but one > dragon at a time ;-) Oh yeah, completely understand :)