Received: by 2002:a05:6358:98a5:b0:11e:80f4:e92 with SMTP id q37csp22298rwa; Thu, 4 May 2023 13:46:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5Bm3LhUfPVQLRd/mUuhymKmc+YcEksgvmn36S+xYiod+QYYBi0+6yGN91aDKxmtQce35Ba X-Received: by 2002:a05:6a00:1312:b0:63d:3339:e967 with SMTP id j18-20020a056a00131200b0063d3339e967mr3619754pfu.19.1683233199851; Thu, 04 May 2023 13:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683233199; cv=none; d=google.com; s=arc-20160816; b=ybIz4gHl93sZTZ3cFffdn5uHyzTz+s687kVTvE1PvgSKVpIKZiZvuS3Amk610ea3BL E/daaspY2kgY/4G/MDaFdf7ZzYmYl++7R3BsHbRJejaI0rYk35IJDvBgjArXrDwE4ChQ AOJujJl5dQVmrDC0+hhvwWUz1rQpLmGJPMSuIuHd+u9NMl0SoPKFYWAPZiJlzljv03sM Pe7dbXRn19QdHeqp/vjxuek5aI5de79YcE+d0BdRtWXpgvJ4WUYTK2f6SpbogYSemyWU 6x/iZmydXHirpxUDP+FeBLD8NaJ9JJmHNFrLzoniDtjZ6ozr+g4s864CWh35PipwzAwQ ZSbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=hnKSnabTJgMzw4Wg+5H4XZlyvGFVU5xMwdJ1boBOdHE=; b=NNSzMh6iNOg+aRIXGD5OPBZv38oUne0/JVcNX84XCcEwYe2qBdtBty70RXCs9o1Ryv a7s2Ndp94FtdynlOSvoLl0sGcJj4u2t8QH+Pu2QL1k1l5gNytHX4pr8FowBrTA92in19 VYvrk+UE320drh+fss6gVu2CsZQPUpahBx3glGE2R43cZ/OvE16qaeQA2xECS6okiWzM uF/tr/GHp9srlLGuHKqOUZDBdXpo9p6gmUhns3RCWiA9d5eUZi6G3BRvI5RuPN/jGDn1 W8rfcRn3zz0vGDmpbUCvApIoi52PkCSatLM7HwC8Bfv9B4fozdv/yv3/uJ1VCkyEdOL2 61TQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rVsx1PFx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c186-20020a621cc3000000b0063d2b810fcbsi256665pfc.208.2023.05.04.13.46.26; Thu, 04 May 2023 13:46:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=rVsx1PFx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231420AbjEDUeA (ORCPT + 99 others); Thu, 4 May 2023 16:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46668 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbjEDUdn (ORCPT ); Thu, 4 May 2023 16:33:43 -0400 Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94C061A1F3; Thu, 4 May 2023 13:24:36 -0700 (PDT) Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-55a010774a5so13765427b3.3; Thu, 04 May 2023 13:24:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683231817; x=1685823817; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=hnKSnabTJgMzw4Wg+5H4XZlyvGFVU5xMwdJ1boBOdHE=; b=rVsx1PFx9laQzqw0f8SmE+h73WVsFUYLDtyGZb5zgICH2R0OmFlMHqxp6tWFAb4HQm /edWrVfVJlUEvbmUWix2tBdVlD+smfmfptE6FD+PQOsjQSPcRyvZeiSIeOZ6P7ndA/Eo nHSw2zyHJRAKfH+8zL2LXj1n9h5KC8Q9//mv+BhJX5YEgXOfTRaz1GWeQIUE0Kw9N8nD XBFOC9ubIoyL6Uf9KTUkagkCjMwpvqElF4QcM3qpCJ4Mnhm1+DMZasn6H920J4+CaZaI EJeyaODg4q9BNzM9+8OBed8SOZ9JhVH0WSiBuKg+4RSHbeEaV9ZoeX5aYIM9ZCZKhmW4 G0OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683231817; x=1685823817; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hnKSnabTJgMzw4Wg+5H4XZlyvGFVU5xMwdJ1boBOdHE=; b=KptUqNYnr/2aY8Jg9061JkjiZ3/jxclXND36C234hsbiLmG3KJVc5baHI9tpiDakvD 5dONsROz7/wMa/SLW9qHzITJjvyxOD/YKjIX2dMxqFruf1RdipqRMYl82VI/tJHF1eHv IMNILvmysPayWP9PGNsgEN+Jeb1qzBJfyE96TqBSGZEVGXsaNx2rgPL+wx6mSQCdDHaa +zIoGFECJ/XEz12DRlCJz4FNTVflHkFTUSdwFBl16v3e1fJgN1VNg0Fb89vNTEU61KcJ y7Rf26ZMsfzV/QCDE8nVZypXD5RlswDAp1c2EIvI4bjy2MklGJSxWwkkw0L/Xx6RPYa7 jTXw== X-Gm-Message-State: AC+VfDyS8HwGOAmQMK4cBaW1f6xoEHgBKhilwrqH5uqq6A2d6a+TX1b9 TPC6apnQi9Ip/T20zfSLUIjReFc1sHrwkgsO9j4PykReHKxcXg== X-Received: by 2002:a05:6902:1028:b0:b92:3e7b:d848 with SMTP id x8-20020a056902102800b00b923e7bd848mr1524958ybt.19.1683231083317; Thu, 04 May 2023 13:11:23 -0700 (PDT) MIME-Version: 1.0 References: <20230503090708.2524310-1-nmi@metaspace.dk> <87jzxot0jk.fsf@metaspace.dk> In-Reply-To: From: Miguel Ojeda Date: Thu, 4 May 2023 22:11:11 +0200 Message-ID: Subject: Re: [RFC PATCH 00/11] Rust null block driver To: Jens Axboe Cc: Keith Busch , Bart Van Assche , Andreas Hindborg , Christoph Hellwig , Damien Le Moal , Hannes Reinecke , lsf-pc@lists.linux-foundation.org, rust-for-linux@vger.kernel.org, linux-block@vger.kernel.org, Matthew Wilcox , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , open list , gost.dev@samsung.com, Daniel Vetter Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 4, 2023 at 9:02=E2=80=AFPM Jens Axboe wrote: > > But back to the real question... This is obviously extra burden on > maintainers, and that needs to be sorted out first. Block drivers in Regarding maintenance, something we have suggested in similar cases to other subsystems is that the author gets involved as a maintainer of, at least, the Rust abstractions/driver (possibly with a different `MAINTAINERS` entry). Of course, that is still work for the existing maintainer(s), i.e. you, since coordination takes time. However, it can also be a nice way to learn Rust on the side, meanwhile things are getting upstreamed and discussed (I think Daniel, in Cc, is taking that approach). And it may also be a way for you to get an extra maintainer/reviewer/... later on for the C parts, too, even if Rust does not succeed. > general are not super security sensitive, as it's mostly privileged code > and there's not a whole lot of user visibile API. And the stuff we do > have is reasonably basic. So what's the long term win of having rust > bindings? This is a legitimate question. I can see a lot of other more > user exposed subsystems being of higher interest here. From the experience of other kernel maintainers/developers that are making the move, the advantages seem to be well worth it, even disregarding the security aspect, i.e. on the language side alone. Cheers, Miguel