linux-hardened/arch/powerpc
Christoph Hellwig 74d46992e0 block: replace bi_bdev with a gendisk pointer and partitions index
This way we don't need a block_device structure to submit I/O.  The
block_device has different life time rules from the gendisk and
request_queue and is usually only available when the block device node
is open.  Other callers need to explicitly create one (e.g. the lightnvm
passthrough code, or the new nvme multipathing code).

For the actual I/O path all that we need is the gendisk, which exists
once per block device.  But given that the block layer also does
partition remapping we additionally need a partition index, which is
used for said remapping in generic_make_request.

Note that all the block drivers generally want request_queue or
sometimes the gendisk, so this removes a layer of indirection all
over the stack.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2017-08-23 12:49:55 -06:00
..
boot
configs
crypto
include powerpc fixes for 4.13 #4 2017-07-28 13:25:15 -07:00
kernel
kvm s390: SRCU fix. 2017-07-28 13:36:56 -07:00
lib
math-emu
mm powerpc fixes for 4.13 #4 2017-07-28 13:25:15 -07:00
net
oprofile
perf
platforms powerpc fixes for 4.13 #4 2017-07-28 13:25:15 -07:00
purgatory
sysdev block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
tools
xmon
Kconfig
Kconfig.debug
Makefile powerpc/Makefile: Fix ld version check with 64-bit LE-only toolchain 2017-07-26 16:41:54 +10:00
Makefile.postlink