From patchwork Wed Oct 31 17:58:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jens Axboe X-Patchwork-Id: 10663021 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 E572D13A4 for ; Wed, 31 Oct 2018 17:59:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D72122B4D3 for ; Wed, 31 Oct 2018 17:59:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB5782B4DD; Wed, 31 Oct 2018 17:59:30 +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 1CA162B4D3 for ; Wed, 31 Oct 2018 17:59:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729437AbeKAC6c (ORCPT ); Wed, 31 Oct 2018 22:58:32 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:52367 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729972AbeKAC6c (ORCPT ); Wed, 31 Oct 2018 22:58:32 -0400 Received: by mail-it1-f196.google.com with SMTP id r5-v6so17569347ith.2 for ; Wed, 31 Oct 2018 10:59:28 -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=A+tR1ZLUh1OflH8/7fIIAMSgo+2lAelC42mMc/IZDw4=; b=SO39JsRPq0O3peXzdY+y+m9yGEhix2otxTDzFNPCHv6TLRELQrg6oyNfPYZvSIHJ/L DSkWYaNEsvdelAkwbCGRkcMZxvCZRbBmpXHKV9A0yXxKjzZ+HpNhBw3p5BWQbLtYrjKg NCSKGmZnGZ6dfvtCDSDJND+QDMT7fMBpxHO5xGLXiey7nkEcMz/jyGgwlsAGUeVoTQAO ljFnhuVflmhPRX9p5xIwYdZWdV2oyrFmmVVss3on0o4wdWQNvar/PG9RzrRb645rLrXc L5A8RzZ9b5aeMMg33x5qs2st1eQZ3zxTQAUYfVgGuK6U71bIL+CqE1N/75sZmW30q0ZT 884A== 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=A+tR1ZLUh1OflH8/7fIIAMSgo+2lAelC42mMc/IZDw4=; b=FL5kuTDAe3flngCOuKMU5qI23lM7PDRHqZf0dxCI8xS3tDXsoFjlQeFP1Fqi3w+H4T 59f7R9DzW+l9oDI28LU79xWVG6K1IflKNNxku8pUeX3yEbbNnmdPaTSCZGcAA8JOc9k8 7d8oZKvMwSzscvMePXjH6Mzm2P8Q31hFThrT3Mjnke+dzDpYk4VomYz7qyQWXVE2AUVI cCej6RysXay6vUPw4poU8i5NqL73xdRX4Ss03lcyrY2JXsasxtlZFDRg5NCpTBqSIREL G/KiagNZAfm207Q2mq9yGZcwSALLEm4yCp6Ss0AREvTD6THlt4mp9ezksJbZMq+kcDIr Y21Q== X-Gm-Message-State: AGRZ1gLomN+mASr7MYkW37tMngvnrrDd4+FsWNyi9eQt/dmtHErWAWyN DsUhkBk+KK7M6jDh+O0t4Sf3sQ== X-Google-Smtp-Source: AJdET5cPOkD3Zi0fgq7/CIlzIshi4/wZP0NQn37kZbbuvEH/jq5a7PABATNsuUtr16MyKNisx8dTDQ== X-Received: by 2002:a24:38b:: with SMTP id e133-v6mr3163064ite.104.1541008766920; Wed, 31 Oct 2018 10:59:26 -0700 (PDT) Received: from localhost.localdomain ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id 197-v6sm10982947iou.87.2018.10.31.10.59.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 10:59:25 -0700 (PDT) From: Jens Axboe To: linux-block@vger.kernel.org, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [PATCHSET v3 0/30] blk-mq driver conversions and legacy path removal Date: Wed, 31 Oct 2018 11:58:52 -0600 Message-Id: <20181031175922.8849-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 This 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 v2: - Kill q->softirq_done_fn() 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 | 30 +- block/blk-settings.c | 55 - block/blk-softirq.c | 24 +- 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 | 9 +- include/linux/blkdev.h | 179 +- 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, 837 insertions(+), 10733 deletions(-) Tested-by: Ming Lei Reviewed-by: Omar Sandoval