Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1461419ybj; Tue, 5 May 2020 21:55:35 -0700 (PDT) X-Google-Smtp-Source: APiQypK0Ro+oDXRMprf35ZV2QTwhIlRWXWuiacG/e92OrS0bGG2cp2uT9qmdrispi8ycghk4Qidv X-Received: by 2002:a50:d79d:: with SMTP id w29mr4441101edi.187.1588740935575; Tue, 05 May 2020 21:55:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588740935; cv=none; d=google.com; s=arc-20160816; b=flyd288GOeTf7Tl+FTWG327tnFggsCYhTYkkwrLD0pxqWxCuwwxmBbD9XbONXVfv9Y aQIU4Si1jU59LVhNKWea9Y3VA31YMDQtfzLVEbZLk6BuD73hnEB/Dtudkp5Atz4aRl4w Tg8KQZLGUHS1ORDNURP3NtUfLNGw8HCWMGdEGOyPLhc388KTsZi9uao0idbDw4w+fseX k51DgEPKppEHNlQAJNhhBRGYcyYv5/fA84MefZF85zpjyxfHfqPqBJ5s8QpBT/T25ZYB JBiN1vjP/sc/Pi+8ZTw3L+nVE71NvnARIqwUSOlWBybImzuLuTSSzWYnolTDe++zEc1P oOqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Eh8HBcsJ7AMscnu1p6EscuTynhiQToZHV8hJX4F+D0U=; b=1EhkKisOhfIjBJxcet2EERtgJ3/C4DziVigUFHaGXwmouE44phwRaXfTEmU3k+ymh+ 42m7NmQNnUPbIsWUXFK9Fk6F72IrpRD6Cvkv5CpdZv0/jur1dZNoqHJ0n0VkAsQ3z8r4 BbvVe9K/vQVQoI6k3CABfaU1gW4qp8RLRzMv9YinU4NUfltp9stUFKl1bln+sdwb4ofN AjOnN4LUVZq3EtTUtCFDPm0qeKlIZMxZuknBYDhnBAZD9/OscW3v7GADy8Q7tyUKRkoq /im7PDh6BuH1gRizvrhvNqPRNP1JA6fp392q6jx77t3vUaiWsu8vUGPwJ6oVoRDPKuNj Jwhw== 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 h10si497505ejb.380.2020.05.05.21.55.12; Tue, 05 May 2020 21:55:35 -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 S1726350AbgEFExC (ORCPT + 99 others); Wed, 6 May 2020 00:53:02 -0400 Received: from verein.lst.de ([213.95.11.211]:38744 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725771AbgEFExC (ORCPT ); Wed, 6 May 2020 00:53:02 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 46CD968C4E; Wed, 6 May 2020 06:52:59 +0200 (CEST) Date: Wed, 6 May 2020 06:52:58 +0200 From: Christoph Hellwig To: Stefan Haberland Cc: Christoph Hellwig , axboe@kernel.dk, linux-block@vger.kernel.org, hoeppner@linux.ibm.com, linux-s390@vger.kernel.org, heiko.carstens@de.ibm.com, gor@linux.ibm.com, borntraeger@de.ibm.com, linux-kernel@vger.kernel.org, Peter Oberparleiter Subject: Re: [PATCH 1/1] s390/dasd: remove ioctl_by_bdev from DASD driver Message-ID: <20200506045258.GB9846@lst.de> References: <20200430111754.98508-1-sth@linux.ibm.com> <20200430111754.98508-2-sth@linux.ibm.com> <20200430131351.GA24813@lst.de> <4ab11558-9f2b-02ee-d191-c9a5cc38de0f@linux.ibm.com> <70f541fe-a678-8952-0753-32707d21e337@linux.ibm.com> <20200505124423.GA26313@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 05, 2020 at 05:09:56PM +0200, Stefan Haberland wrote: > OK, thanks for the hint.I did not have this in mind. And I still have > to look up how this is working at all. > But isn't this only a real issue for devices with more than 16 minors > or partitions? So it should not be a problem for DASDs with our limit > of 3 partitions and the fixed amount of minors, right? > > Just tested with CONFIG_DEBUG_BLOCK_EXT_DEVT enabled and about 1000 > unlabeled devices. Did not see an issue. > > While I see the SCSI devices with MAJOR 259 and quite a random MINOR > all the DASD devices keep their MAJOR 94 and ascending MINOR. Looks like it only changes the minors, and not the majors. Still checking for major and relying on a shared structure define in different places just doesn't look maintainable. > > And compared to all the complications I think the biodasdinfo method > > is the least of all those evils. > > Are you talking about your first patch suggestion?Then I disagree. > I still do not like to force the driver to be built in if there is an > alternative. No, I mean the series that I actually sent out: https://lkml.org/lkml/2020/4/21/66 https://lkml.org/lkml/2020/4/21/68 https://lkml.org/lkml/2020/4/21/69