Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp964109rwr; Thu, 4 May 2023 12:03:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4GNEIsS4fTUYgNB9uSh8qIDIuW4HCpZOBHIvchnFMkkpuXXPiMG206LxHiutSaj6AhQlh5 X-Received: by 2002:a17:902:9f87:b0:1a9:7e26:d72 with SMTP id g7-20020a1709029f8700b001a97e260d72mr4689938plq.9.1683226980608; Thu, 04 May 2023 12:03:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683226980; cv=none; d=google.com; s=arc-20160816; b=Y9HMfDaFfJPOVIzdZEpAUpSNNwA4RC3gIgr710ZnT+xmrFvB3W1Muixejl51oUTfrB eJKsGpll7aY2yuONUkOz0qxzem/4E93WYxhqVtd1rojQx33+ziDDaW0AdnFjD63mOyHW K/ogCi1vwE1ZpzdeQsIhmdfV3wYSUX1J4pHvjbnW0PnyyHd/36/KVc5h6ExHmT6Sw799 2uEysgGvYo0guHW4VQaJVP8DSW8PAy6PooBncph3lBozrHvI2JL2LHW0jYfmW3zdR3rn ELpI3Bnugs/xnoHixXXEKw5VCl5501DHfHwqhvY+vIDOTqLQWa+uEWQiVnKooeSlKHxv b7Ug== 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=/i5OM8QjTDqhMV+AGuoVwTO95etaXnGEB5oOB1kRa+E=; b=0m3FCaJKx1wEiHQol4sEKe7chCD6ceMs+QFQBRSIklNMKkfrTnI4LczTwsVakxxO9A 78ZdRjGVYBOeOzrCpKG6KDDtfdtxWumoUWQMyy8G9Nhw/SoSXvznMDrC+FBbWPoAor4w PDmJcqvK4w2vfOcEgYwAEJyyhh4XNUNIkaxoeyOupV0mHZXSXT5X0MRHGXh3pdS+6eTH HW+HfjHo5rHgksdi6VktbWSjzlhAcZXXviRG9e47ebqK0cYhuy/kBzoau1QUNNkrZDps xlBdkXyU+pbltWANnaFWT3l4kJSHTIfRrEXnT+2lhrLHq/HI9IfkPS2s1GfraQ3kjv1k Ipcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fPgmmiY9; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y21-20020a1709027c9500b001ab197cb503si4962385pll.355.2023.05.04.12.02.39; Thu, 04 May 2023 12:03:00 -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=@kernel.org header.s=k20201202 header.b=fPgmmiY9; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbjEDSwl (ORCPT + 99 others); Thu, 4 May 2023 14:52:41 -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: X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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.