From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C81A4C433DF for ; Mon, 29 Jun 2020 20:01:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A31B520675 for ; Mon, 29 Jun 2020 20:01:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="izI9va37" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387486AbgF2TkO (ORCPT ); Mon, 29 Jun 2020 15:40:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733177AbgF2TkL (ORCPT ); Mon, 29 Jun 2020 15:40:11 -0400 Received: from casper.infradead.org (unknown [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F3D8C03E979; Mon, 29 Jun 2020 12:40:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=jMtXd3+IgH5FKAFW7B3krAloHxKDCKtZ6481a42mweE=; b=izI9va37od/l74eLDK6Qd4n5+c DRE5tLWFd6z0dh7FN+++zwj3vqA9hBSqXjItC+dGo1jQTiNXlNCOwNeuynBDUj4O0vv4wEvXD9xkA 1Lqve212q1u8S5/IjqOxXPzxIxXWaadH1PkDW/wrhUOY/mACP+lHeZT85YM/CigG5JmG82gX4yswL RfDgh8pbd/ZyjWgGdAg7148oGPLMXP5IlWqnDTyMyVw/N0D30hWunCXzjPMCUTonoLYB3XTq2F8xe dBLSroWnj5XPAyKyIbXf1d7S5LahAvykKyuFF6hWFRR+hZoSGHVSAwslOJwhs0F/6uveQ9FNxwMDD ErEDmz7A==; Received: from [2001:4bb8:184:76e3:fcca:c8dc:a4bf:12fa] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jpzd6-0004EQ-9J; Mon, 29 Jun 2020 19:39:50 +0000 From: Christoph Hellwig To: Jens Axboe Cc: dm-devel@redhat.com, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-xtensa@linux-xtensa.org, drbd-dev@lists.linbit.com, linuxppc-dev@lists.ozlabs.org, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org, linux-nvdimm@lists.01.org, linux-nvme@lists.infradead.org, linux-s390@vger.kernel.org Subject: rename ->make_request_fn and move it to the block_device_operations Date: Mon, 29 Jun 2020 21:39:27 +0200 Message-ID: <20200629193947.2705954-1-hch@lst.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-bcache-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bcache@vger.kernel.org Message-ID: <20200629193927.hEHp0jGRBndYAa2Z0AZxcd82E25UOGEYtwNB23_qP6A@z> Hi Jens, this series moves the make_request_fn method into block_device_operations with the much more descriptive ->submit_bio name. It then also gives generic_make_request a more descriptive name, and further optimize the path to issue to blk-mq, removing the need for the direct_make_request bypass. Diffstat: Documentation/block/biodoc.rst | 2 Documentation/block/writeback_cache_control.rst | 2 Documentation/fault-injection/fault-injection.rst | 2 Documentation/trace/ftrace.rst | 4 arch/m68k/emu/nfblock.c | 8 arch/xtensa/platforms/iss/simdisk.c | 9 block/bio.c | 14 - block/blk-cgroup.c | 2 block/blk-core.c | 255 +++++++++------------- block/blk-crypto-fallback.c | 2 block/blk-crypto.c | 2 block/blk-merge.c | 23 - block/blk-mq.c | 12 - block/blk-throttle.c | 4 block/blk.h | 5 block/bounce.c | 2 drivers/block/brd.c | 5 drivers/block/drbd/drbd_int.h | 8 drivers/block/drbd/drbd_main.c | 12 - drivers/block/drbd/drbd_receiver.c | 2 drivers/block/drbd/drbd_req.c | 8 drivers/block/drbd/drbd_worker.c | 2 drivers/block/null_blk_main.c | 19 + drivers/block/pktcdvd.c | 15 - drivers/block/ps3vram.c | 20 - drivers/block/rsxx/dev.c | 14 - drivers/block/umem.c | 11 drivers/block/zram/zram_drv.c | 14 - drivers/lightnvm/core.c | 8 drivers/lightnvm/pblk-init.c | 16 - drivers/lightnvm/pblk-read.c | 2 drivers/md/bcache/bcache.h | 2 drivers/md/bcache/btree.c | 2 drivers/md/bcache/request.c | 11 drivers/md/bcache/request.h | 4 drivers/md/bcache/super.c | 24 +- drivers/md/dm-cache-target.c | 6 drivers/md/dm-clone-target.c | 10 drivers/md/dm-crypt.c | 6 drivers/md/dm-delay.c | 2 drivers/md/dm-era-target.c | 2 drivers/md/dm-integrity.c | 4 drivers/md/dm-mpath.c | 2 drivers/md/dm-raid1.c | 2 drivers/md/dm-snap-persistent.c | 2 drivers/md/dm-snap.c | 6 drivers/md/dm-thin.c | 4 drivers/md/dm-verity-target.c | 2 drivers/md/dm-writecache.c | 2 drivers/md/dm-zoned-target.c | 2 drivers/md/dm.c | 41 +-- drivers/md/md-faulty.c | 4 drivers/md/md-linear.c | 4 drivers/md/md-multipath.c | 4 drivers/md/md.c | 7 drivers/md/raid0.c | 8 drivers/md/raid1.c | 14 - drivers/md/raid10.c | 28 +- drivers/md/raid5.c | 10 drivers/nvdimm/blk.c | 5 drivers/nvdimm/btt.c | 5 drivers/nvdimm/pmem.c | 5 drivers/nvme/host/core.c | 1 drivers/nvme/host/multipath.c | 18 - drivers/nvme/host/nvme.h | 1 drivers/s390/block/dcssblk.c | 11 drivers/s390/block/xpram.c | 8 fs/buffer.c | 5 include/linux/blk-mq.h | 2 include/linux/blkdev.h | 12 - include/linux/lightnvm.h | 3 71 files changed, 387 insertions(+), 408 deletions(-)