Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36500318rwd; Tue, 11 Jul 2023 01:39:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlEDgPnNVr9Ujz1L5DjElNXJy/UDsgVI7Do2PNgK5/8A69wBNPu9hD2br1BFY553WgnIc3iZ X-Received: by 2002:a17:906:259:b0:993:d5bd:a757 with SMTP id 25-20020a170906025900b00993d5bda757mr15605904ejl.19.1689064761919; Tue, 11 Jul 2023 01:39:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689064761; cv=none; d=google.com; s=arc-20160816; b=Wzq3LOpZUkNo6M3ZJ7bFf9iu8QukYf88EDa7rMmzQ0dH9hAdouUKp/Q/4GyrWmKzSn JJ2BCdIiSExgEWi/ykl8pAKTS+6W8kk0IGaey829MLrICiH5RZ8WhmP24HVR8AeyGc5h wRcx3UZIV9rDzV/yPRjz3d7iBSJcimJE+vo6Fpjkf6A5pze+aXZz5sUp9LobdPbfn/B7 YlI5pohSzNzTxkwto5cFPRTS2IRa07btN8XUZcN2YZ0O3NreG+UXcIh39AwUSKESQkzg FJlrZU/z42BO9gPgqcx8zXGFoEQHJHdYQka5m6r6M+JxHIz/N4I6hIxRtpVzL1V4xacS MYLA== 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=Qwuo2cmnOyKWMhs51uip+VVO1uccisKrt4zrIgmUcvQ=; fh=MXeltGVPxBwjRorN4+ehguWRbB9y9sMXCIJnZ26ZQbk=; b=ph6ypbxnPjnVk6eWhJW4UuUVPZ0mejh1GXZJ9CXeHYq7ULFeDi3YMoy8f5MVqx/6Ha eXcIruJ022fdGmKU4vvSn7AC3i/2lYHVIVZHKOfGTEG2sEUjs0ElDjEy3lqrtb0oEEYN fpCPJr7Gw5FiTA9Avu5ZLmO4ITjp5PQRI8vsI+NVSuMsGhgLTKh+Ah5vqZwxxL2fQyJ4 v6UsGsfKHmFuG8ktc6tBpAGmKSzHHaaomdaFjswklzJBETDKjTYDtPu0L0bOddNT7wk1 +V8Veq5irG2Dw4zk3FZ3XbDqRPcEUf7JNFVzLkzYGZu+aLPoAAVONaQZ8aDJYMUV55xx qzLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=jvp1svZd; 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 rn8-20020a170906d92800b0099319803901si1323242ejb.844.2023.07.11.01.38.58; Tue, 11 Jul 2023 01:39:21 -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=jvp1svZd; 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 S230203AbjGKIWN (ORCPT + 99 others); Tue, 11 Jul 2023 04:22:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229573AbjGKIWM (ORCPT ); Tue, 11 Jul 2023 04:22:12 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8890191; Tue, 11 Jul 2023 01:22:09 -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=Qwuo2cmnOyKWMhs51uip+VVO1uccisKrt4zrIgmUcvQ=; b=jvp1svZdBq8Y4YpYYuoVxg/q8n a9UCIH+MHHb5EXp3PuUPDhv0FhMYQ+wW+pAb2oaf9mijPY66kxtbP9rsiowfWLKrdmoDtmcVDSNOd rNDvx0Sgy46rh9bvIHhshESc/FlazgPHAJY8NJqRKLKFX9mqPVGSiJNbA40UTI9xwgCarfkXXn8pz a5N1EPYo5FrfSPCVg5yw1BmC8Ly5BAwzcRW01/w0QeKMeTdVjQpvk7kg99HLYWrGYChUE4RdZZgvz rreBNt7M11s1ncS93G60LwDE0ndJeX2f3SV9MdsJZyYwSQ2C0SCZWQiHsO3nZwGYSIVyRwA4BeWOL 8E44roig==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1qJ8dG-00E5jN-1N; Tue, 11 Jul 2023 08:22:02 +0000 Date: Tue, 11 Jul 2023 01:22:02 -0700 From: Christoph Hellwig To: "Andreas Hindborg (Samsung)" Cc: Christoph Hellwig , Ming Lei , Damien Le Moal , open list , "open list:BLOCK LAYER" , Minwoo Im , Matias Bjorling , gost.dev@samsung.com, Jens Axboe , Aravind Ramesh , Johannes Thumshirn , Hans Holmberg Subject: Re: [PATCH v6 1/3] ublk: add opcode offsets for DRV_IN/DRV_OUT Message-ID: References: <20230706130930.64283-1-nmi@metaspace.dk> <20230706130930.64283-2-nmi@metaspace.dk> <51b660f3-8145-d35e-87b4-d9ac0623606d@kernel.org> <87a5w3ymff.fsf@metaspace.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a5w3ymff.fsf@metaspace.dk> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, Jul 11, 2023 at 08:23:40AM +0200, Andreas Hindborg (Samsung) wrote: > Yet most on-the-wire protocols for actual hardware does support this > some way or another. Supports what? Passthrough? No. > I somewhat agree in the sense that for consistency, we should either > move zone management commands to the DRV_OUT range OR move report_zones > out of this special range and just next to the zone management > operations. I like the latter option better, and I would love to see the > block layer do the same at some point. It feels backwards that > report_zones get special treatment all over the place. DRV_IN/OUT is purely a Linux concept. It doesn't make any sense for a wire protocol.