Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2492677pxj; Sun, 13 Jun 2021 23:09:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZaks8EAd2Byvi0Y5gNZ5MzbCx7MVxnGVVVVUxrvpTQ5Rns9vaRd3xGT/peJCv/1P9IbkU X-Received: by 2002:a17:906:a203:: with SMTP id r3mr14114844ejy.361.1623650966830; Sun, 13 Jun 2021 23:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623650966; cv=none; d=google.com; s=arc-20160816; b=MbQRPRBIijrwDDxgIHzzOpHcw+sM/s8gFSDZGGZVzxw8sgsqW4p+rwptNXEXLxha0I 53KefXyzBwhJk7FggMAhBxTPIYQlVJUgan/5d8sK/6b0nwZvGjlnMvP+cYdwHkZ6YEVj XWrAqh6zIw9Nw2efQ4z2sOzYChyuHRwGK5zHpPndWfnoVg0+zmO+ZZ48IPZmZG32nW6S wQ7xMY/2p4vKWlLjJt8p+NZHOD+lnFLlk/hlhnZLQenZbiBqnt41bb2te2znYt1Yx/MH QLdb7/nVwWmDAuXGxQLh7XU6H9JlAMxAbK+O4gbLlDNr+yltTtYQqeqTJGu9dyO1Pu/K cVzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=pNCZGFwRZkOEax8ViFXmM98e7LtCVelx6oIBxkkQG1M=; b=wQgZCmhY1hYdfosbuMywcEQ2mryndjGKTNuqugNkK2UWGydrOL4a5Mng/+I000wDWh VsSyWYcY7/+aVBQbChfLO+QnhBtWdBhJOjjhSROqsztS8uK8vPPS7pfYE+h1x0Xcp70e 9uc0CgGlvUNgRKI46hK7zEs2vcW8hwPONjKtkpTtKG9pzdW5dPcL/qsEwC/l4TFotPZd hHjMqCQG/yrEr0lNXsG3z0BTOg63BIshopnbu/24XhbxtK3Tqdok5jck1ploC78z6rqz lNptY4CAsREdHoesw+8P5LgrUVOChs5vWvP1NSihJX1+sxZ6VzMQE9FA/7nG+NWuN9+6 cd7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1LVHkK1+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g20si12418458ejz.520.2021.06.13.23.09.03; Sun, 13 Jun 2021 23:09:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1LVHkK1+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232122AbhFNGKM (ORCPT + 99 others); Mon, 14 Jun 2021 02:10:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231949AbhFNGKM (ORCPT ); Mon, 14 Jun 2021 02:10:12 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6543CC061756; Sun, 13 Jun 2021 23:08:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=pNCZGFwRZkOEax8ViFXmM98e7LtCVelx6oIBxkkQG1M=; b=1LVHkK1+Nk1hyqnZm9VdPkU1uj l5GDp2UZxDnxn394adt/OT3dZnqic5phjqL3A5Kq91Z5VKHKMLSXmoEOjjF4NybKECCN21PI2NVgK TlRM4M3gHi3n79zFhkNMDbtPAyqOlI1fHB2PGf2f9lSGMF7EHnGZ1m44J+9+zOcnTs4HSaajTAyrH sy/ecOOKEKSC6wTti8nVYVD3KI9Bps9N5YkjvrN04ExRhDnoJXU7BBv6YTG0/RcbIRuxfCWFxFtVi AE2FFLJY10m3XNoxZ50E77FMlOjCLo90tipacuXn4k9+AD1r+OjAlJjq7olgCVXpmzoN1PAA4AcR9 VWBWClew==; Received: from [2001:4bb8:19b:fdce:c70:4a89:bc61:2] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1lsflQ-00CgKb-U5; Mon, 14 Jun 2021 06:08:01 +0000 From: Christoph Hellwig To: Richard Weinberger , Anton Ivanov , Jens Axboe Cc: linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Subject: cleanup ubd gendisk registration Date: Mon, 14 Jun 2021 08:07:57 +0200 Message-Id: <20210614060759.3965724-1-hch@lst.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, this series sits on top of Jens' for-5.14/block branch and tries to convert ubd to the new gendisk and request_queue registration helpers. As part of that I found that the ide emulation code currently registers two gendisk for a request_queue which leads to a bunch of problems we've avoided in other drivers (only the mmc subsystem has a similar issue). Given that the legacy IDE driver isn't practically used any more and modern userspace doesn't hard code specific block drivers, so I think we can just drop it. Let me know if this is ok.