Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp753243ybt; Wed, 1 Jul 2020 09:11:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyucou+9xOM7B2p4trLOqOh0WbNkMv2EdrD4fGfwkt0iWbrYsxWsRqmWXbcHyJgz98ZVgNn X-Received: by 2002:a17:906:4c41:: with SMTP id d1mr23922210ejw.463.1593619863548; Wed, 01 Jul 2020 09:11:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593619863; cv=none; d=google.com; s=arc-20160816; b=vckTBnMcWtgnwk/Yn19DcIec8Vjip6KwpOF78+3aFmcdItbaSzalHm5x7E+NXNgDLu Ekq0fQ5t8DgDGbFn+PI7dMsav7CYOs6AVb0X0/zIL3CORAXrdqhewmHYlNzCJbP/Rd2w 1cfrn+MfxZJEG/pdHM4jAIeWqry+0/j3ME/7tgPSweYP4HSboOc+VKI41hWWmm1aaVsC kwpPNQj7UitavVv5E+MuUwiSmXAtfHk/AuSpuh4sqgUNjhbL9TJlXkCEHjVAL1nisMbU 3bZjbbVl0N6S/RJFcZW11IgPUHUsBW1AIu5a5hj28JxOw2PBIGKsXkxcY/fJsU/K2OTh iKNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NgtGRFNzMUt8UwQnpVLH6Q0lK3Q/pmzbcISwUTSvZp4=; b=fq/CqpvnFt79OfPilwRremiDNUsTtXf9MkuzxGDClwsNE/XvqVVPk3PJxPaAsdaP1G A3Dmc9sYBl4iIl3iFXBhJXTeJAweOAMmRzkfOv+cdMIXscX2nE3IVlAx+0LuQChLRgOc vhqNQzA+RSut0ezf3MqB1BMKzuTamv3ySlaG7HMcDe6+iWZHaBOpZIV2HdgDadumAInt 8RsGfz3RkczR1FA1U3OchKn8WiTdZUiW8/x1kT6GQ7ZY0jF3Xl87eXqkG4aAsLj/I0PA 9xEOEYn/XEEn1z5wgSc1gI49Tcghw0xXqP5x6iS1KbmNBf6U/W39GoXcgF8UxwR4L8uD jhUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=sgyWg0od; 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l7si3813570edv.475.2020.07.01.09.10.39; Wed, 01 Jul 2020 09:11:03 -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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=sgyWg0od; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732158AbgGAQIa (ORCPT + 99 others); Wed, 1 Jul 2020 12:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731962AbgGAQI3 (ORCPT ); Wed, 1 Jul 2020 12:08:29 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AA9CC08C5DB for ; Wed, 1 Jul 2020 09:08:29 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id n2so11426136edr.5 for ; Wed, 01 Jul 2020 09:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NgtGRFNzMUt8UwQnpVLH6Q0lK3Q/pmzbcISwUTSvZp4=; b=sgyWg0odMXUUNA+ymUvc43LaYs2s/aJwbFyXWRoPjxwdAxwM/8NDCnpUaFI4p3liR0 gB3SPFv0A/WozVPJacrsy3TT9HIOMMCESTpphsqE92coNdoMTDE/jB5/k99TrA7k0WXT HwfvYQsx393r8hZTsu6RX5RUEhIafmeLpfC5Xxvgan8YQB6lIclWByvvZYmq9DcmZLWN JlL5WK7hHhUXeDny6LC8Ts2exiDWCHCRjEx+DVoYVUZMCGpeUSrXG6yeqYlDTXCkU+hk g1qHbmn4FwKHi5mTo+XYno4GD6wFdoeaM1etI9G0XSOMB6JxPVUPvp1yv+DnjQn7iHAQ vT8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NgtGRFNzMUt8UwQnpVLH6Q0lK3Q/pmzbcISwUTSvZp4=; b=bsffCwzCqTlJAz4rYw39i+1UtKOrd1gH2kWXZevmllNgZfwUFWEIworjOsq/yH24Yd VHRrUryETiWNzm0ixBz5E6+fQcTcsxHpszEKfSW5xv47CPVbqHGN2vxiFvr1sM344oKj IOsZHeegcs9CXzUOfOUvVZzDxgc/v2UUUIVO0p4KyxRjpcjjxK+kRivbF2v4TBBXfpeJ L3S60v69cSMMvTBz3o38hAn8YVv0CGUh/czXkB2gWiMTXgNHyuXPopNWtO8WPfti52Kq SXCbrIVoZkT7XnVlGOKpp0hFQGZQDI+H9MitlbzKcDBkgu8hYMsWHIEXZR32Y1Vbp4QK PyqA== X-Gm-Message-State: AOAM533VkfVQWaWzfFFiAvmDFCNqk9RIJACsxaHWg+IZlK8JU+elWZcZ SeS1VvPDHFs7k9t/1OcvBkd1JVrAxEUGw4NQqzaoNQ== X-Received: by 2002:a05:6402:21c2:: with SMTP id bi2mr29609575edb.296.1593619707927; Wed, 01 Jul 2020 09:08:27 -0700 (PDT) MIME-Version: 1.0 References: <20200701085947.3354405-1-hch@lst.de> <20200701085947.3354405-17-hch@lst.de> In-Reply-To: <20200701085947.3354405-17-hch@lst.de> From: Dan Williams Date: Wed, 1 Jul 2020 09:08:17 -0700 Message-ID: Subject: Re: [PATCH 16/20] block: move ->make_request_fn to struct block_device_operations To: Christoph Hellwig Cc: Jens Axboe , device-mapper development , Linux Kernel Mailing List , linux-m68k@lists.linux-m68k.org, linux-xtensa@linux-xtensa.org, drbd-dev@lists.linbit.com, linuxppc-dev , linux-bcache@vger.kernel.org, linux-raid , linux-nvdimm , linux-nvme@lists.infradead.org, linux-s390 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 1, 2020 at 2:01 AM Christoph Hellwig wrote: > > The make_request_fn is a little weird in that it sits directly in > struct request_queue instead of an operation vector. Replace it with > a block_device_operations method called submit_bio (which describes much > better what it does). Also remove the request_queue argument to it, as > the queue can be derived pretty trivially from the bio. > > Signed-off-by: Christoph Hellwig > --- [..] > drivers/nvdimm/blk.c | 5 +- > drivers/nvdimm/btt.c | 5 +- > drivers/nvdimm/pmem.c | 5 +- For drivers/nvdimm Acked-by: Dan Williams