From patchwork Mon Oct 29 16:34:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Axboe X-Patchwork-Id: 10659565 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7855513B5 for ; Mon, 29 Oct 2018 16:34:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A2D429C31 for ; Mon, 29 Oct 2018 16:34:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D08929C43; Mon, 29 Oct 2018 16:34:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C52A429C31 for ; Mon, 29 Oct 2018 16:34:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727862AbeJ3BYJ (ORCPT ); Mon, 29 Oct 2018 21:24:09 -0400 Received: from mail-it1-f193.google.com ([209.85.166.193]:51639 "EHLO mail-it1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727461AbeJ3BYJ (ORCPT ); Mon, 29 Oct 2018 21:24:09 -0400 Received: by mail-it1-f193.google.com with SMTP id y123-v6so4094940itc.1 for ; Mon, 29 Oct 2018 09:34:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=N5QX5BxqLwgRbjd2IDEw8vrHQDzc97utQsfb7yvNOS4=; b=chMybShKPaoSKmS9y6u3U++BszCh2hoJbrqOH3Aly1RSIdg2Uo6bTD9OCGsJX58p8x HNgIDCOTGR9xGve3gjO2aTuGZNmYgMl2RQIM2URKZTZqsi0eSVRv0JDBg6/cooxXE93T xhAAaoFDMSzoZq7F7Ui6JE0b8UPb1ZNiU1A8gPfqlJrkpicGdfbMkj7xGEf2lB3Jl+Rm pcog0qKl4RiGwHSIAHwDwebR+n/zKXrsvbL47ermU7bJP038qX3cHqEUYIqnwcIvCe4p pyKXlFpSW1SYZohYJnzzjvLtHOnSb+WJRuYn4NzIgmdylIgaMTk94+EdWjMQ136Yz7c0 m0hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=N5QX5BxqLwgRbjd2IDEw8vrHQDzc97utQsfb7yvNOS4=; b=ZJVB4evZ+iThUOdyfdxmsn3IvzeX34juMnrmOzhSftwgJgAI5VcDspmJyQeejmIfEC R/9SIfv2K3I7O7FBdpxsdoMlyBOmxUEnjfIUtkZMACVLKF2PBJkBH00dwNPO0i1prdVN 9fPiiYlpWp/GtY/FrQy6wGa103d8e1ilk0bOBOdsUa6y8wrYGXSWaRP97VcMLDay6gmA aye9fq9L+DahJsRWhElIJK5vIlGDC0iuLJJqU5fETfAnOiw4jDZDVUUEw7yZu7wxy8id PieYeP0oIuwzUhahUJHOoSEeo9fBStpP1qIEF5Yln6WjJ2MrWVnWvqT2VnVWTDXyk+c1 bD2Q== X-Gm-Message-State: AGRZ1gI+f+Pk7EbpCLUzx/fRiWCiK/KqSNNUr6qnyjnlQlauwoICpm7h JMJuRTpEzkSI9V1MK7+X2Bj+mVwxl9U= X-Google-Smtp-Source: AJdET5d28N+ecVHDI1ipbkm4+OKIfLUvSkwCwPHB32M/bcZKiVPSXkbwPtWXghc4gByceXfJW2m/WA== X-Received: by 2002:a02:4f9b:: with SMTP id r27-v6mr10302195jad.97.1540830888396; Mon, 29 Oct 2018 09:34:48 -0700 (PDT) Received: from localhost.localdomain ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id n7-v6sm6464500itb.22.2018.10.29.09.34.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Oct 2018 09:34:46 -0700 (PDT) From: Jens Axboe To: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org Subject: [PATCHSET v2 0/29] blk-mq driver conversions and legacy path removal Date: Mon, 29 Oct 2018 10:34:15 -0600 Message-Id: <20181029163444.9940-1-axboe@kernel.dk> X-Mailer: git-send-email 2.17.1 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Elements of the previous series went into mainline, this is a v2 posting with those killed, series reshuffled, bugs fixed, etc. his patch series converts the remaining drivers to blk-mq. SCSI supports both paths, this removes the legacy IO path from SCSI. At the end, legacy IO code and schedulers are killed off. I'm not aware of any issues with this series. This patch series is on top of current -git. It can also be bound in my mq-conversions branch. Changes since v1: - Fix removed q->mq_ops non-NULL check in wbt_enable_default() - Remove spurious return in ide-io.c:ide_timer_expiry() - Dropped DM legacy path removal patch, now in mainline - Dropped ib_srp patch, now in mainline - Fixed a missing port unlock in IDE - Add SCSI ufs to the BSG conversions - Add patch to remove bsg-lib queue hook dependencies - Fixed missing clear of IO contexts - Added blk-mq backend for blk_lld_busy() Documentation/block/biodoc.txt | 88 - Documentation/block/cfq-iosched.txt | 291 -- Documentation/scsi/scsi-parameters.txt | 5 - block/Kconfig | 6 - block/Kconfig.iosched | 61 - block/Makefile | 5 +- block/bfq-iosched.c | 1 - block/blk-cgroup.c | 55 - block/blk-core.c | 1836 +----------- block/blk-exec.c | 20 +- block/blk-flush.c | 154 +- block/blk-ioc.c | 33 +- block/blk-merge.c | 35 +- block/blk-mq-debugfs.c | 2 - block/blk-mq-tag.c | 6 +- block/blk-mq.c | 13 +- block/blk-settings.c | 49 - block/blk-softirq.c | 20 - block/blk-sysfs.c | 39 +- block/blk-tag.c | 378 --- block/blk-timeout.c | 99 +- block/blk-wbt.c | 3 +- block/blk.h | 60 +- block/bsg-lib.c | 146 +- block/cfq-iosched.c | 4916 -------------------------------- block/deadline-iosched.c | 560 ---- block/elevator.c | 447 +-- block/kyber-iosched.c | 1 - block/mq-deadline.c | 1 - block/noop-iosched.c | 124 - drivers/block/sunvdc.c | 149 +- drivers/ide/ide-atapi.c | 25 +- drivers/ide/ide-cd.c | 175 +- drivers/ide/ide-disk.c | 5 +- drivers/ide/ide-io.c | 100 +- drivers/ide/ide-park.c | 4 +- drivers/ide/ide-pm.c | 28 +- drivers/ide/ide-probe.c | 68 +- drivers/memstick/core/ms_block.c | 110 +- drivers/memstick/core/ms_block.h | 1 + drivers/memstick/core/mspro_block.c | 121 +- drivers/s390/block/dasd_ioctl.c | 22 +- drivers/scsi/Kconfig | 12 - drivers/scsi/cxlflash/main.c | 6 - drivers/scsi/hosts.c | 29 +- drivers/scsi/lpfc/lpfc_scsi.c | 2 +- drivers/scsi/osd/osd_initiator.c | 4 +- drivers/scsi/osst.c | 2 +- drivers/scsi/qedi/qedi_main.c | 3 +- drivers/scsi/qla2xxx/qla_os.c | 30 +- drivers/scsi/scsi.c | 5 +- drivers/scsi/scsi_debug.c | 3 +- drivers/scsi/scsi_error.c | 4 +- drivers/scsi/scsi_lib.c | 599 +--- drivers/scsi/scsi_priv.h | 1 - drivers/scsi/scsi_scan.c | 10 +- drivers/scsi/scsi_sysfs.c | 8 +- drivers/scsi/scsi_transport_fc.c | 71 +- drivers/scsi/scsi_transport_iscsi.c | 7 +- drivers/scsi/scsi_transport_sas.c | 10 +- drivers/scsi/sg.c | 2 +- drivers/scsi/st.c | 2 +- drivers/scsi/ufs/ufs_bsg.c | 4 +- drivers/scsi/ufs/ufshcd.c | 6 - drivers/target/target_core_pscsi.c | 2 +- include/linux/blk-cgroup.h | 108 - include/linux/blk-mq.h | 6 + include/linux/blkdev.h | 176 +- include/linux/bsg-lib.h | 6 +- include/linux/elevator.h | 90 +- include/linux/ide.h | 13 +- include/linux/init.h | 1 - include/scsi/scsi_host.h | 18 +- include/scsi/scsi_tcq.h | 14 +- init/do_mounts_initrd.c | 3 - init/initramfs.c | 6 - init/main.c | 12 - 77 files changed, 825 insertions(+), 10712 deletions(-)