From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([65.50.211.133]:37167 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932204AbdHWRKi (ORCPT ); Wed, 23 Aug 2017 13:10:38 -0400 From: Christoph Hellwig To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-raid@vger.kernel.org, linux-btrfs@vger.kernel.org Subject: don't require a struct block_device to submit a bio Date: Wed, 23 Aug 2017 19:10:26 +0200 Message-Id: <20170823171032.30529-1-hch@lst.de> Sender: linux-btrfs-owner@vger.kernel.org List-ID: Hi Jens, this series removes the need to have a struct block_device ready to submit a bio. We basically don't use it anywhere in the block stack anyway - we always go for the gendisk or request_queue. The only exception is partition remapping for which we'll now need an additional partition index. This helps with cases where we submit I/O from a character device (nvme or lightnvm passthrough) or a different block device (upcoming nvme multipath support).