Re: don't require a struct block_device to submit a bio
From: Jens Axboe <axboe@kernel.dk>
Date: 2017-08-23 18:04:45
Also in:
linux-block, linux-btrfs
From: Jens Axboe <axboe@kernel.dk>
Date: 2017-08-23 18:04:45
Also in:
linux-block, linux-btrfs
On 08/23/2017 11:10 AM, Christoph Hellwig wrote:
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).
Looks fine to me. I can take it through the block tree, when the md/btrfs parts are reviewed by the right parties. -- Jens Axboe