Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1198183pxk; Fri, 4 Sep 2020 03:23:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzenVkpbp5tB5vMpj1+L5F/1vg77Q0suVAUlPUJht0v4bpb+jxKb2Did01MyHd96MRwo+vI X-Received: by 2002:a17:906:4c51:: with SMTP id d17mr6550291ejw.28.1599215030694; Fri, 04 Sep 2020 03:23:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599215030; cv=none; d=google.com; s=arc-20160816; b=lvbs1D3JazApXJJltFRzL+udZacu3VjYwthuHmSzt0u7OiD+NteEWcbQyutr4CHmeM 4zRqf0TsgH4itgfQpVW0E36TcAtSEOqTyzQW59vf3rjU8wuIRkk/rkBmqTVDycYoTVLo jpJZgzVjl6xjqj1LD2r6/8SZPTlmz4hOs4YM/DWEvCD4z/AjZVeRD7dz1QGdqf6Pavrv 9eKYC+v7ZHs70TgRzwat68MLYwzbEHUFiU/suuLoaS516wxbbI3QGheowKOK5VTn5Lee Lz0iw73XjX0cLpFE3hu5vlcttAHqMNZ33xinYI52p6YjvK+xfoWMHDeWgDlryh3bRdmP EAVw== 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=DuIKSIP4N9yVtGj9V8YUOZC3HVc9v+hn/AKRqcqx8PA=; b=hLYiZ7RqwkLPFBe/bIpqNbbIK5TJXk8qUtGkGLc0pgyK78NrgLuK5E45JrRjvEmLCw eIgpiOqc5HWJzUwzJeef7XRNKygeT89Bl5oyzTDk+qjMoV6Fly0vFkavKBuQC5Bq5HqM TFgW7ZN/BmDqhGiBxIAaOESo5rYFmJRIuIJWorvlBFPh4SB5WWabiXtUw0CR7bT6eJ9/ zHSbzGcFlSd4GbtCgqq1FX41+TwxRcZV3Zc0MyeDsJ6PEdIXFdp56JffH+ASY+KW9dZM 5cYGuJtSHtfYZiQFyNW5pUK+qB8Q/I0nn4OC10ILRyDmg5qXdrf5OgV7jRkoJkSTEU3U 1qbA== 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 cx17si3478520edb.409.2020.09.04.03.23.28; Fri, 04 Sep 2020 03:23:50 -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 S1729942AbgIDKWt (ORCPT + 99 others); Fri, 4 Sep 2020 06:22:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:38222 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbgIDKWr (ORCPT ); Fri, 4 Sep 2020 06:22:47 -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 A3BB0AEC4; Fri, 4 Sep 2020 10:22:46 +0000 (UTC) Subject: Re: [PATCH 09/19] sd: use __register_blkdev to avoid a modprobe for an unregistered dev_t 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-10-hch@lst.de> From: Hannes Reinecke Message-ID: <37e98474-0a73-0952-201d-850461bd9f6c@suse.de> Date: Fri, 4 Sep 2020 12:22:43 +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-10-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: > Switch from using blk_register_region to the probe callback passed to > __register_blkdev to disable the request_module call for an unclaimed > dev_t in the SD majors. > > Signed-off-by: Christoph Hellwig > --- > drivers/scsi/sd.c | 19 +++++-------------- > 1 file changed, 5 insertions(+), 14 deletions(-) > 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