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: 991597 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ide-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel-dk.20150623.gappssmtp.com header.i=@kernel-dk.20150623.gappssmtp.com header.b="SO39JsRP"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 42lbh222yzz9s8F for ; Thu, 1 Nov 2018 04:59:30 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729977AbeKAC6c (ORCPT ); Wed, 31 Oct 2018 22:58:32 -0400 Received: from mail-it1-f195.google.com ([209.85.166.195]:50603 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729437AbeKAC6c (ORCPT ); Wed, 31 Oct 2018 22:58:32 -0400 Received: by mail-it1-f195.google.com with SMTP id k206-v6so19561686ite.0 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=k/8FRZhUN6Zi4LTINn3t10IW+5tOiPCubFB0TW+Lp8ZacGGJaQ0f4gl0zQVA+jt2KT zflwL7Mtu+7P2MxWotRewq0BlrAMO2vn6NEByNFzZmS3R6oz1FX4H1W7ZsX5SyvCti69 Wj8g2Cj9a+XUucbZm8+zGNmjcQc/ynawGg3Nbuh0+MjeBhZk8XTDbBQT8VTO8qjIraHV WNJemUM3ArNREMp/Uoclp+n7ZlrgWtxPrq5JFR0Z5H/cXfFedZYVrXW6LXjdWe59flma ee5yH3wkcsUnZqCVXFF8pgyM4QwgFc/GuC7ego39uvLBvM6aw+ht4/lTe2VKspRA7vCe s+tw== X-Gm-Message-State: AGRZ1gKVxv/zLzGVoXZE6Ynrjx9MjDWBk3GxBc6a9urHOMmh7esH5d4C 0uEAeocZAOpvwJV4pfJsbGc6AQ== 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-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org 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