Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp193205ybz; Tue, 21 Apr 2020 07:19:42 -0700 (PDT) X-Google-Smtp-Source: APiQypLeYaaqI/tRQ/NIzs8m1IxWUxdw5OUKvdmtR3D4LvsnE30g0RKHuKP4M4qgwmmHVTiwAS0s X-Received: by 2002:a05:6402:319c:: with SMTP id di28mr9861001edb.185.1587478782384; Tue, 21 Apr 2020 07:19:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587478782; cv=none; d=google.com; s=arc-20160816; b=dAlzHDidiSXw0SlFgMGyAa5kFusnbek5thL0yis6ovSRjscz47ru1dQqEw9Mk3b+JY Y/8TYbak1C4KcBFXw16Qw5a3IPX5bvi3OQennDoanH5t0VGaWAGTIYF2QvCNEtE9Ub1E eT4lshTgA6/OfhaAAWoXUCF7KQ8fIoXIRF+fdz09zkWzFTA6GspBLmp0JSyegG4ZNuAw T57bomyAahdYH2HhFWl3k7BI9yvlgop/we/3It7eEoHt93qMXpcLVOAzCQE3Yf5GEMnR Tm6CaMFog3zW881Y57y1MvNSV1erk8MptcrAI04aTZzkD6RPy3FeGm7IMHZnx1obYAsZ z+ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :subject:autocrypt:from:references:cc:to; bh=Fa8vie71mOHCDRd70Y+soFIAChQK9e04pSBBBY2YVuw=; b=Mw1QBJqIQh3qWiTAcQaCb1lBFndK8ZcgkRFYCaP1I9lJOG26rn4dXSJmtiYczlK8e4 /kwEGIydA6h3iJMTfBIL4a2AqA7XeN7cDd+e2zeWgLl2YOSSnaTWinRzuB6nDLL7h0Qu h+xfDeEO/mnAR7DPK0QtQ3WKta0q8264U4PWKz/ljAheKghLb85CMs50cjFVHs5ZinF5 6GQlvQXl/VUSXHMkoIfe20gfzqjtrBR+SBvtbRwDBzfhaXJeTvniC5/c2iDGARfWs3Da BHzDUHx5iAL11SHTftF+eF1Ainy6xyvz0+jJiARqKpwQ9bIWZgYDmqUxj2BgoUjYAhbu ZHAQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc11si1707754ejb.215.2020.04.21.07.19.10; Tue, 21 Apr 2020 07:19:42 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728944AbgDUOSD convert rfc822-to-8bit (ORCPT + 99 others); Tue, 21 Apr 2020 10:18:03 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:16090 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726628AbgDUOSC (ORCPT ); Tue, 21 Apr 2020 10:18:02 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03LEDa19042009 for ; Tue, 21 Apr 2020 10:18:00 -0400 Received: from e06smtp05.uk.ibm.com (e06smtp05.uk.ibm.com [195.75.94.101]) by mx0b-001b2d01.pphosted.com with ESMTP id 30ghu6y3xh-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 21 Apr 2020 10:18:00 -0400 Received: from localhost by e06smtp05.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 21 Apr 2020 15:17:06 +0100 Received: from b06avi18626390.portsmouth.uk.ibm.com (9.149.26.192) by e06smtp05.uk.ibm.com (192.168.101.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 21 Apr 2020 15:17:03 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 03LEGkRR57541072 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 21 Apr 2020 14:16:46 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C116F52059; Tue, 21 Apr 2020 14:17:53 +0000 (GMT) Received: from linux.fritz.box (unknown [9.145.38.29]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 615E752050; Tue, 21 Apr 2020 14:17:53 +0000 (GMT) To: Christoph Hellwig , Jan Hoeppner , Jens Axboe , Heiko Carstens , Vasily Gorbik , Christian Borntraeger Cc: linux-s390@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <20200421061226.33731-1-hch@lst.de> From: Stefan Haberland Autocrypt: addr=sth@linux.ibm.com; keydata= mQINBFtGVggBEADI1Lne1npTa+b5x5EJ7ka0siRMargCCo5dcOaCBBG3wT24IyyG6chdV7Yr vkeHDm/6OjMi+w8Vbx2ts0KhYWMj9SHX2E58AsyBedeCkedOKuhkNh0HNSv8WMCEi24uoYK9 3VW0bQ3KYAB5wYQ/bONn05qSJ18Ev2Mqs1IOJdukJAM6dcJoUX2NigSiumGBB1SgJLHjbAFB lR0OUeFD1QOFF9vljOnTXhMeiDwRpJtKRN2z2FmqBKJl4hinBAR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AXn7hYNeM1MMqSA81NEoCeUhNHeZudf5WSoglG3rUnxIXrnxfDkn8Vd36cinGejyrI qJoydRMpX48I3wJcyvZ8+xgM/LLlvXEH4BpuJL+vQkefJrn0R2vxTnHcj5TE1tKNwhI7/343 PNzhgHGYynjCbF4u9qpSqcJl/exFnRXaTH6POIbHXIRe8n4TfdXsOcbI3j/GUF0cXinkfxdt BWH5rC3Ng+EN3jkDo8N9qF7uEqN9rRaekqsO0jYMQJlfZeJSQH9KHD+wgZly9j6DmnGexbdB aJdzCtbIR+oJy0HjfwvIQrgp1pj0yvXeDsUHykATsORx0ZitlGUuU6tlAnbH346nNSDoklLI lEDvODTgpkhWDczM69MGKrFYgDcIqXZFWzea6Xq+cuGtGO5xV/4K+efWQovlIdv4mE4j2E2G yXj14Nuyh4wqdX9/yspSZCH1TCbXD9WEB5nQCQNAKzIB7YaTQBjFi1HFzGOGYteZGC37DJ6a xEMRG8/iNZSU4dSL+XsaTnUk5wzzSnz0QVOEOqRY5tkS3zpo9OUGevyR3R6bRqH3EaA5H1cS cH4TNHyhiR0KAbxE8qKx3Jc= Subject: Re: stop using ioctl_by_bdev in the s390 DASD driver Date: Tue, 21 Apr 2020 16:17:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200421061226.33731-1-hch@lst.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 20042114-0020-0000-0000-000003CBEFAA X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20042114-0021-0000-0000-00002224E7B1 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-21_05:2020-04-20,2020-04-21 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=939 suspectscore=0 bulkscore=0 spamscore=0 phishscore=0 adultscore=0 clxscore=1011 malwarescore=0 priorityscore=1501 lowpriorityscore=0 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004210108 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph, thanks for addressing this. But I must say that I do not like this approach. I get your point why you want this ioctl to be removed and I agree with that. Having those implicit partitions at all is really ugly but I fear that this is widely used int the field. So I can not simply remove this code although I would like to. Maybe we find a way to deprecate this. But anyway... Forcing the driver to be build in may have a lot of implications which we should at least have a look at and maybe discuss with the distributors. All major distributions have the driver build as modules and use module parameters in the initrd for example. The second thing is that I do not really like this s390-specific blockdevice operation. I can imagine some ways to get rid of this ioctl_by_bdev. Maybe having a udev rule to add a partition from userspace or having the driver add the implicit partition at the end. Or maybe something else. If it is OK I will have a look at this and discuss this issue with my colleagues and come up with a different approach. Regards, Stefan Am 21.04.20 um 08:12 schrieb Christoph Hellwig: > 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?