From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 507BEC7EE21 for ; Thu, 4 May 2023 18:52:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229516AbjEDSwk (ORCPT ); Thu, 4 May 2023 14:52:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjEDSwj (ORCPT ); Thu, 4 May 2023 14:52:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40EF159FB; Thu, 4 May 2023 11:52:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D14136361C; Thu, 4 May 2023 18:52:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F22E1C433D2; Thu, 4 May 2023 18:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683226357; bh=6Yh0/0aM/AqOO+dqL35sXvkTa/tsPV21goxWcKkSeIw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fPgmmiY9J7ZjUXMN4xS6eBWkojLGjvlXI1zwNcxidNYGKcPyRBxykUjQTxDPCLvA+ aXzBaJ8oQTN8TDd59iHcO2NO2iT7c8Lr4hdVgwOaySNOTkEPdzw/t5TTgf0q5iAVCg fyNroR7U3QvcCk7KU5h9yWHw2c2tPC0VPVL0F2sq9Gl2jlHQ+Gr2HAZG5fxUEHPH4+ Gsl9K64dICfWAhqzAGDYRmE8j4oXDrgZWYazvjF6Qk91Mnq20wSTjwPaYapw1APJ9a GRJ5AoTX0HBxZzsDbgmGhG26vy2sr6x8LH3h2atAouWXLXbIch25i8bC0RTzCu1kqJ lS6ze7ud18msg== Date: Thu, 4 May 2023 12:52:33 -0600 From: Keith Busch To: Bart Van Assche Cc: Andreas Hindborg , Jens Axboe , 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: Precedence: bulk List-ID: X-Mailing-List: rust-for-linux@vger.kernel.org On Thu, May 04, 2023 at 11:36:01AM -0700, Bart Van Assche wrote: > On 5/4/23 11:15, Andreas Hindborg wrote: > > If it is still unclear to you why this effort was started, please do let > > me know and I shall try to clarify further :) > > It seems like I was too polite in my previous email. What I meant is that > rewriting code is useful if it provides a clear advantage to the users of > a driver. For null_blk, the users are kernel developers. The code that has > been posted is the start of a rewrite of the null_blk driver. The benefits > of this rewrite (making low-level memory errors less likely) do not outweigh > the risks that this effort will introduce functional or performance regressions. Instead of replacing, would co-existing be okay? Of course as long as there's no requirement to maintain feature parity between the two. Actually, just call it "rust_blk" and declare it has no relationship to null_blk, despite their functional similarities: it's a developer reference implementation for a rust block driver.