Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp391336rwr; Thu, 4 May 2023 21:41:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7m1CwSb2mfNMoB1YH51Mu4YwWW9PVX7Vjlc1UaQs/+zOK5dkqxBUGDso8RhfIN7CvqZNMA X-Received: by 2002:a17:902:7402:b0:1a9:7a7c:2086 with SMTP id g2-20020a170902740200b001a97a7c2086mr161923pll.27.1683261687325; Thu, 04 May 2023 21:41:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683261687; cv=none; d=google.com; s=arc-20160816; b=PDP2Qri7wK7dR/REm4VtT3uOBwCfSemK/MrBOQJeLn17HH4yPJvxD2NzVYEDKojiMM VQTmo8dXWQo0JoFosHt8q4rRJO7a/nynScdlA2COg++h0cSh8lLGaU2XmMdO4oqMnHkD 1ViSTEfDUGVeJ6XBRT2wMVDRWeB/zBvCO1pI5UL9wHktW9e1sUWnzcOdfxPhvXKG7EJL rbLvELC4HWznLD1FzdCtY5MFQPMSLrGjw1+MzbSlBh3sRI8pd+pUt24mPTOv4sflB1CP RhfaySwZn4kAhsGId42UFFVezqrfjcfq6yrtWk8MfOyfcX9vuTThgVh8EIgAVLNqMxA0 F6AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GAX3xUURHmNrkqo48U3apChUo8nPnawKi2Wp+78HVCE=; b=iclWHzXPHrk3NpS0aNizapxl2Kz02+hFj5YgVS07lT360+5q+qvWUsBcmRv1KuREcg djs9SA2DSuudgxg4vosAFZgWIwiI8a8cPapx0GEzadE5R87ovaOhN2uIXti+dbX/VCAD J97ajE75TO4KZj3tF5s5B4ajyvRaVNwdpILVqR3SIMIcxZdGBessXmSNp3URdgdeQM45 oZgQeVdQsB3WUqYfr/kWS19nWWNgLsC/0D8SOIUgoEcG0FgN9xBJlOoxzu6jB4hYOILY hDyNlAuiMVjQ4e1haWGCAwzBw7rwpPj+ejXwAMhpAcqJLINKiaqUglKP100Ww13fBpqT hpow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=oe8Fd59R; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a17090322cd00b001ab20d029e0si798783plg.582.2023.05.04.21.41.14; Thu, 04 May 2023 21:41:27 -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=@infradead.org header.s=bombadil.20210309 header.b=oe8Fd59R; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229810AbjEEDwb (ORCPT + 99 others); Thu, 4 May 2023 23:52:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbjEEDwX (ORCPT ); Thu, 4 May 2023 23:52:23 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF47D11572; Thu, 4 May 2023 20:52:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=GAX3xUURHmNrkqo48U3apChUo8nPnawKi2Wp+78HVCE=; b=oe8Fd59RI3I0udKddZe67tmtWu 26Z6CrfGkbKBTyULCmFyjGbF350CBZXF60nLAxLmejJgwjGeOdaXtumY4liwrk8k4sCOQfHC0WWMr b3XoA8krZlnoxINZdJa79wPOGg9dKhNYKcYBptxkOuShmxxQNTkGCT7qDdy2ZSZW1sMQ5sJJY9+ix vKij9ozHGnjb8MNDk3BC1WtulxGIVYmDuW6AJkc+k0eDyCOTEBSMWlmXTuGKnMCW0cxR83XQx3pD0 +y5ohfzHT7Hzg1HGAy0n13SelXE98QeNBxU4UcIY7NncRRPDguTcyMmVkdDm+DEwIuxj4xiylss6Z 6JCa8Pyw==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pumUF-009eOy-1o; Fri, 05 May 2023 03:52:03 +0000 Date: Thu, 4 May 2023 20:52:03 -0700 From: Christoph Hellwig 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 , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , open list , gost.dev@samsung.com Subject: Re: [RFC PATCH 00/11] Rust null block driver Message-ID: References: <20230503090708.2524310-1-nmi@metaspace.dk> <87jzxot0jk.fsf@metaspace.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 04, 2023 at 01:02:19PM -0600, Jens Axboe wrote: > null_blk or not, it's more if we want to go down this path of > maintaining rust bindings for the block code in general. If the answer > to that is yes, then doing null_blk seems like a great choice as it's > not a critical piece of infrastructure. It might even be a good idea to > be able to run both, for performance purposes, as the bindings or core > changes. Yes. And I'm not in favor of it, especially right now. There is so much work we need to do that requires changes all over (e.g. sorting out the request_queue vs gendisk, and making the bio_vec folio or even better physical address based), and the last thing I need is a binding to a another language, one that happens to have nice features but that also is really ugly.