Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1716395ybz; Thu, 30 Apr 2020 04:21:04 -0700 (PDT) X-Google-Smtp-Source: APiQypLfYb+prRAhiQMkKNUME0I+VOpJA1GVLa7fgX6Fb86jLLKxX1K2G8OBjfpMZj3CMdndEHbA X-Received: by 2002:aa7:d6c7:: with SMTP id x7mr2116395edr.313.1588245664317; Thu, 30 Apr 2020 04:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588245664; cv=none; d=google.com; s=arc-20160816; b=zh6KupxpVYuOy9/KIFK9uXGVrB3JO8Lcm2i8srfDU3eMNl6IqZ0mPtwwEK3BBgY/5m pwkP/sJIMmwwiR24NM3Kl/sUDTQ0soXwx1r2q6R4sQw8Np6LRDLiEVMjo2X4EzXxs4oL epMvR7vE6SLb0rzkhdBJtFXKp8AqTQUw940eyG+F0ZpYjEg+E66+s5eUhhj/GT0Ngr3F 33rnM3O6fyfkx04DPvQ+XLj1yaZf9VIuk7VPc3woUkXhJ8HShdJ8TtUop3uEymp+jNQ3 O1iH+4jAPzrxAAzHL5OchY341L/exm28NYPnRYVUt6BCKNxEy07rNLxnhZZ2ItDST2qO CI5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=xZ3TnPICTJIFxYDu2tq+xwx+0PkfaghR/gvs58S0h4I=; b=LGv9cLfwbi+V5Cbhu/ZVO6fqu+3lqRkONsL1QStLqZU95DrPycJC28NYhONlRRP+uv toE7o+5/fhTtlsILoV2VNcQ3oBwTt6f0R0RK/X+hxeFyLbLdli+zjyaZzmsRc5TnT6yL sWxtFcX30WspbKJtootBPblcMOrOkd2rlKZzsp8xaXQ/BmM3Mhil5Wpk5zJTrmS9iHfi ks1v0mamgkwYod2iXyf8clr/GV88g4McGkgEjcBKhLZrnwQr4ojAQCPxJT5eTTnm213k lYwokH8+uefv5tQf5QRVA3RuUK4Za29JS8rpzRKHlRoC/LJzfz1hYtEmIFtVVEXLi7WM OG6w== 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 di15si4914909edb.423.2020.04.30.04.20.40; Thu, 30 Apr 2020 04:21:04 -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 S1726859AbgD3LSF (ORCPT + 99 others); Thu, 30 Apr 2020 07:18:05 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:28634 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726309AbgD3LSE (ORCPT ); Thu, 30 Apr 2020 07:18:04 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03UB3CQN140103; Thu, 30 Apr 2020 07:18:00 -0400 Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 30me47b9cp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Apr 2020 07:18:00 -0400 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 03UBG6BG013757; Thu, 30 Apr 2020 11:17:58 GMT Received: from b06avi18878370.portsmouth.uk.ibm.com (b06avi18878370.portsmouth.uk.ibm.com [9.149.26.194]) by ppma04fra.de.ibm.com with ESMTP id 30mcu5aknm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 30 Apr 2020 11:17:57 +0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 03UBHtKL65012140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 30 Apr 2020 11:17:55 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1EF6FAE058; Thu, 30 Apr 2020 11:17:55 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0B0E5AE055; Thu, 30 Apr 2020 11:17:55 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Thu, 30 Apr 2020 11:17:55 +0000 (GMT) Received: by tuxmaker.boeblingen.de.ibm.com (Postfix, from userid 20191) id B233BE0260; Thu, 30 Apr 2020 13:17:54 +0200 (CEST) From: Stefan Haberland To: axboe@kernel.dk, hch@lst.de Cc: 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 Subject: [PATCH 0/1] remove ioclt_by_bdev from DASD Date: Thu, 30 Apr 2020 13:17:53 +0200 Message-Id: <20200430111754.98508-1-sth@linux.ibm.com> X-Mailer: git-send-email 2.17.1 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-30_07:2020-04-30,2020-04-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 spamscore=0 malwarescore=0 mlxlogscore=751 clxscore=1015 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004300087 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph and Jens, here I have a different proposal how to remove the ioctl_by_bdev calls from the DASD device driver. The patch is tested and from my perspective OK to be integrated. If you find it acceptable please feel free to integrate it into your tree. Otherwise I am open for suggestions. Regards, Stefan Stefan Haberland (1): s390/dasd: remove ioctl_by_bdev from DASD driver block/partitions/ibm.c | 67 ++++++++++++++++++-------------- drivers/s390/block/dasd_devmap.c | 17 +++++++- drivers/s390/block/dasd_diag.c | 10 +++++ drivers/s390/block/dasd_eckd.c | 10 +++++ drivers/s390/block/dasd_fba.c | 8 ++++ drivers/s390/block/dasd_genhd.c | 1 + drivers/s390/block/dasd_int.h | 10 +++++ 7 files changed, 91 insertions(+), 32 deletions(-) -- 2.17.1