Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1201576pxk; Fri, 4 Sep 2020 03:30:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKKyssvt5C82aF+heG8kD6JJ+/fDpSAoR9HX+HvtMGYhKJBmlTpyYtNBj8PNJfsL+W1Ny8 X-Received: by 2002:aa7:c3d4:: with SMTP id l20mr7810303edr.263.1599215443438; Fri, 04 Sep 2020 03:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599215443; cv=none; d=google.com; s=arc-20160816; b=kGInLcABD5/zHgzJadLz9+UOCZ2dlKlhNDHGP02o0rV74ET8JR1Gz/REeQOufbVlLQ L4shU6VyuIVS2b+1ND/vKmhN1aZrNnRgvlVKXfOWy1XXUO0WuUHpAVRa7E1e3hYRrodl HqPePdps3GQS6UWjcScWxZSnrkPTwqgbJEHwMX10Ia1R9XPL3txj1m1Pt+Rk/fGz3OEi JzRCHeVY2SIakTAC3Qdd6DPW9pi2hd3NIeLa4gk6rcv+qhZ0enhcmgAN5Er3Bk04rKCP tioOWyqM7fJGHKULrpMj2KJdxyWTXoh4oCX3lKrIjuQMeYq2adxEUJXPr/TniYnpuJJE 50jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=hhSc9v5l9/XeCJYAKR0hcwFdEnf6EwEIr2/8eXidHvs=; b=n6YpFx1arUFPQlPw9jlCU/rzs39q8dyOQFo/+gSDTFBHEZOt70qM7YFxkPPFeBIj9A 2HbCmmqMf6ZCzpNIfN4qtLWug8nfws/wo4heF3zJkukOSjubXlw9FhAV1qAY/4SN6YOE V+Ao7n+IGt5UXKP8vs5btInJ8Di9wpx59QPEl1JEO0wmVarwAeVah0/nm2QXO1ibGCtL pWe7uLCtN3b5u8xUp1PR2iHl/UsyGRzn93lckDUVtNSo73B7bugavlHyYAEZt/klco7X Eyf/b6L+7zzwOd4gCUI4K65PzTWNP1+nTD5RlMr1RagCv2pFPxlEIqc6x4NBjmQoZX1O KNOg== ARC-Authentication-Results: i=1; mx.google.com; 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 z3si3490671ede.201.2020.09.04.03.30.20; Fri, 04 Sep 2020 03:30:43 -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; 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 S1730213AbgIDK0d (ORCPT + 99 others); Fri, 4 Sep 2020 06:26:33 -0400 Received: from mx2.suse.de ([195.135.220.15]:43398 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730043AbgIDK0R (ORCPT ); Fri, 4 Sep 2020 06:26:17 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id CF89FAF6D; Fri, 4 Sep 2020 10:26:15 +0000 (UTC) Subject: Re: [PATCH 13/19] ide: switch to __register_blkdev for command set probing To: Christoph Hellwig , Jens Axboe Cc: Greg Kroah-Hartman , "Rafael J. Wysocki" , Denis Efremov , "David S. Miller" , Song Liu , Al Viro , Finn Thain , Michael Schmitz , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, linux-m68k@lists.linux-m68k.org References: <20200903080119.441674-1-hch@lst.de> <20200903080119.441674-14-hch@lst.de> From: Hannes Reinecke Message-ID: <4199305c-5d59-030b-2a5f-b13ede10bf17@suse.de> Date: Fri, 4 Sep 2020 12:26:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20200903080119.441674-14-hch@lst.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/3/20 10:01 AM, Christoph Hellwig wrote: > ide is the last user of the blk_register_region framework except for the > tracking of allocated gendisk. Switch to __register_blkdev, even if that > doesn't allow us to trivially find out which command set to probe for. > That means we now always request all modules when a user tries to access > an unclaimed ide device node, but except for a few potentially loaded > modules for a fringe use case of a deprecated and soon to be removed > driver that doesn't make a difference. > > Signed-off-by: Christoph Hellwig > --- > drivers/ide/ide-probe.c | 34 ++++++---------------------------- > 1 file changed, 6 insertions(+), 28 deletions(-) > Ceterum censeo ... Reviewed-by: Hannes Reinecke Cheers, Hannes -- Dr. Hannes Reinecke Kernel Storage Architect hare@suse.de +49 911 74053 688 SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer