Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp6043ybz; Tue, 21 Apr 2020 03:37:24 -0700 (PDT) X-Google-Smtp-Source: APiQypJq+TssQBb+G43YPXuWqsQJiEAnbuFIUqfOktwy/Qni/YENgOiL9gDqVza55EBg2vijXuYd X-Received: by 2002:a17:907:361:: with SMTP id rs1mr20898315ejb.228.1587465443851; Tue, 21 Apr 2020 03:37:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587465443; cv=none; d=google.com; s=arc-20160816; b=DvCmT0MD4y+TNZ5bikstTp+FsHOejV852NnJHqtT5RdtuLwXhQsBLKa3PCcGIWINZk 0QThBFBa73AiYN3fDuksWkrbJ9uk55vMxb37iVSLLzyZ0/2feojA8UT6XrGuhSXRqDLB aBTe+XEiECcxwICsgfJtfYryTlU4WVVba4ZmEUNFoG/F3vD8+97qc+hk31fIVupfDRp7 t2u9Ill8DHD7gEYW+gZcPEfhHY4PodfBkTTpocXYFeYJ3zzUgIQJoZkQHp7R1sZIldFJ /zWyHLuYnBdQxHiVdXvw7oT8ivphUgyritLgKx/Y921B5cE3nDi1ujefVXas6D+asolA mRyw== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=EyLblhX5X6lhg0t/llpl5uQpyQRjyyg8CobgDx/wvC0=; b=gi0IgJ283CDGRki6PJbEeqf75ggl3JLo/Vic7Vco71sj8/InlqwtbSF5g9+pcar4+C PXA4MVHuNvO7Sm/SGGgBxUTf6E6eM+67M6hcH/m/ebZIkOIay5B7GbeaNMh7VCmuO31y H6kO82xu2gbBwb2qEynSz8H3sXLso9DmpvXba5+Y9q/qxjYeYG+QBw/ZZl/ZcryerMSu ZNKcssxuHzCtqWeEEtyIvwpdA31YuMpormuth2lrWU0pdTXek2l3kDQw3Dc8p4XyqqzY 01QioPt3kqZFaEBSYT/P2xrxaKrtC/c7lFHKtB/LLb16dfVIS80U+3h0F2vzJ1DNqPbK HWhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=dKOtDCfA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m16si1328925edq.329.2020.04.21.03.37.00; Tue, 21 Apr 2020 03:37:23 -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=@redhat.com header.s=mimecast20190719 header.b=dKOtDCfA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728479AbgDUKdR (ORCPT + 99 others); Tue, 21 Apr 2020 06:33:17 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:21326 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726741AbgDUKdQ (ORCPT ); Tue, 21 Apr 2020 06:33:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1587465193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EyLblhX5X6lhg0t/llpl5uQpyQRjyyg8CobgDx/wvC0=; b=dKOtDCfAuE1ONmyHyk9MVKuJdpcImXrkds7+mAiqzh4GEK+dD0wr1scXoeMlQmqYPWZkd8 qbrvU/Y9+1cFlm1JfE++Ujs7e7Mt3iqTZ5UwiteqDWamQKgGFGl0jCTZSpRHdjMkiFS/ZU RWHxpQTFsVcVMEq/1W25zbppYFjQmxc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-456-wGxjjLoBOCe4u1_JRMt9JQ-1; Tue, 21 Apr 2020 06:33:11 -0400 X-MC-Unique: wGxjjLoBOCe4u1_JRMt9JQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DA27A8017FC; Tue, 21 Apr 2020 10:33:09 +0000 (UTC) Received: from gondolin (ovpn-112-226.ams2.redhat.com [10.36.112.226]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1E3FF1001B09; Tue, 21 Apr 2020 10:32:59 +0000 (UTC) Date: Tue, 21 Apr 2020 12:32:56 +0200 From: Cornelia Huck To: Christian Borntraeger Cc: Christoph Hellwig , Stefan Haberland , Jan Hoeppner , Jens Axboe , Heiko Carstens , Vasily Gorbik , linux-s390@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: stop using ioctl_by_bdev in the s390 DASD driver Message-ID: <20200421123256.2f5d9dbd.cohuck@redhat.com> In-Reply-To: References: <20200421061226.33731-1-hch@lst.de> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 21 Apr 2020 11:58:31 +0200 Christian Borntraeger wrote: > On 21.04.20 08:12, Christoph Hellwig wrote: > > Hi Jens and DASD maintainers, > > > > can you take a look at this series, which stops the DASD driver from > > issuing ioctls from kernel space, in preparation of removing > > ioctl_by_bdev. I don't really like the new s390-only method, but short > > of forcing the dasd driver to be built into the kernel I can't think of > > anything better. But maybe the s390 maintainers are fine with forcing > > the DASD driver to be built in, in which case we could go down that > > route? > > Hmm the defconfig results in dasd built-in anyway. But distros really like > to keep it modular. > > Hmm, we do have > > obj-$(CONFIG_DASD) += dasd_mod.o > obj-$(CONFIG_DASD_DIAG) += dasd_diag_mod.o > obj-$(CONFIG_DASD_ECKD) += dasd_eckd_mod.o > obj-$(CONFIG_DASD_FBA) += dasd_fba_mod.o > > Would it work to make CONFIG_DASD built-in only and keep the other 3 as modules? > Not sure about the implications. > I don't think non-eckd dasd drivers are really useful outside of z/VM guests, so keeping at least the disciplines modular would be good. Also, what about special purpose environments like the zfcp dumper? Would be good to be able to keep these small. How big is the dasd code in the end?