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
..
iscsi
Add wait_for_random_bytes() and get_random_*_wait() functions so that
2017-07-15 12:44:02 -07:00
loopback
target/tcm_loop: Make TMF processing slightly faster
2017-07-06 23:11:25 -07:00
sbp
tcm_fc
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
2017-03-02 14:52:05 -08:00
Kconfig
Makefile
target_core_alua.c
target: Use {get,put}_unaligned_be*() instead of open coding these functions
2017-07-06 22:57:59 -07:00
target_core_alua.h
target_core_configfs.c
target: export lio pgr/alua support as device attr
2017-07-10 20:05:27 -07:00
target_core_device.c
target: Fix cmd size for PR-OUT in passthrough_parse_cdb
2017-07-09 20:58:49 -07:00
target_core_fabric_configfs.c
target/configfs: Kill se_lun->lun_link_magic
2017-06-08 23:26:38 -07:00
target_core_fabric_lib.c
target: Use {get,put}_unaligned_be*() instead of open coding these functions
2017-07-06 22:57:59 -07:00
target_core_file.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
2017-07-13 14:27:32 -07:00
target_core_file.h
target_core_hba.c
target_core_iblock.c
block: replace bi_bdev with a gendisk pointer and partitions index
2017-08-23 12:49:55 -06:00
target_core_iblock.h
target/iblock: convert iblock_req.pending from atomic_t to refcount_t
2017-05-01 22:20:43 -07:00
target_core_internal.h
target: remove g_device_list
2017-07-06 23:11:41 -07:00
target_core_pr.c
target: Fix return sense reason in target_scsi3_emulate_pr_out
2017-07-09 20:59:17 -07:00
target_core_pr.h
target/pr: update PR out action code table
2017-05-01 22:20:44 -07:00
target_core_pscsi.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
2017-07-13 14:27:32 -07:00
target_core_pscsi.h
pscsi: finish cmd processing from pscsi_req_done
2017-07-06 23:11:46 -07:00
target_core_rd.c
target: break up free_device callback
2017-07-06 23:11:37 -07:00
target_core_rd.h
target_core_sbc.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
2017-07-13 14:27:32 -07:00
target_core_spc.c
target: Fix cmd size for PR-OUT in passthrough_parse_cdb
2017-07-09 20:58:49 -07:00
target_core_stat.c
target: Add counters for ABORT_TASK success + failure
2017-02-26 16:21:06 -08:00
target_core_tmr.c
target: Introduce a function that shows the command state
2017-07-06 22:58:04 -07:00
target_core_tpg.c
target/configfs: Kill se_lun->lun_link_magic
2017-06-08 23:26:38 -07:00
target_core_transport.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
2017-07-13 14:27:32 -07:00
target_core_ua.c
target_core_ua.h
target_core_user.c
tcmu: clean up the code and with one small fix
2017-07-11 10:48:07 -07:00
target_core_xcopy.c
xcopy: loop over devices using idr helper
2017-07-06 23:11:40 -07:00
target_core_xcopy.h