OpenCloudOS-Kernel/fs/exofs
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
..
BUGS exofs: Documentation 2009-03-31 19:44:38 +03:00
Kbuild exofs: switch to {simple,page}_symlink_inode_operations 2015-05-10 22:18:27 -04:00
Kconfig ore: FIX breakage when MISC_FILESYSTEMS is not set 2012-01-06 16:48:14 +02:00
Kconfig.ore ore: Support for raid 6 2014-05-22 14:48:15 +03:00
common.h Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
dir.c mm: drop "wait" parameter from write_one_page() 2017-07-05 18:44:22 -04:00
exofs.h exofs: Convert to separately allocated bdi 2017-04-20 12:09:55 -06:00
file.c wrappers for ->i_mutex access 2016-01-22 18:04:28 -05:00
inode.c exofs: don't mess with simple_write_{begin,end} 2016-12-10 14:25:19 -05:00
namei.c Merge remote-tracking branch 'ovl/rename2' into for-linus 2016-10-10 23:02:51 -04:00
ore.c block: replace bi_bdev with a gendisk pointer and partitions index 2017-08-23 12:49:55 -06:00
ore_raid.c Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
ore_raid.h Boaz Harrosh - Fix broken email address 2014-10-19 20:22:32 +03:00
super.c exofs: Convert to separately allocated bdi 2017-04-20 12:09:55 -06:00
sys.c locking/atomic, kref: Add kref_read() 2017-01-14 11:37:18 +01:00