OpenCloudOS-Kernel/drivers/nvme/host
Christoph Hellwig 0c4de0f33b block: ensure bios return from blk_get_request are properly initialized
blk_get_request is used for BLOCK_PC and similar passthrough requests.
Currently we always need to call blk_rq_set_block_pc or an open coded
version of it to allow appending bios using the request mapping helpers
later on, which is a somewhat awkward API.  Instead move the
initialization part of blk_rq_set_block_pc into blk_get_request, so that
we always have a safe to use request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
2016-07-20 17:38:30 -06:00
..
Kconfig nvme-rdma: add a NVMe over Fabrics RDMA host driver 2016-07-08 08:38:49 -06:00
Makefile nvme-rdma: add a NVMe over Fabrics RDMA host driver 2016-07-08 08:38:49 -06:00
core.c block: ensure bios return from blk_get_request are properly initialized 2016-07-20 17:38:30 -06:00
fabrics.c nvme-fabrics: add-remove ctrl repeat fix 2016-07-12 08:32:19 -07:00
fabrics.h nvme-fabrics: Remove tl_retry_count 2016-07-12 08:31:11 -07:00
lightnvm.c block: get rid of bio_rw and READA 2016-07-20 17:37:01 -06:00
nvme.h nvme: Limit command retries 2016-07-12 16:20:31 -07:00
pci.c nvme: avoid crashes when node 0 is memoryless node. 2016-07-13 09:17:55 -07:00
rdma.c nvme-rdma: Don't use tl_retry_count 2016-07-12 08:31:10 -07:00
scsi.c nvme: move chardev and sysfs interface to common code 2015-12-01 10:59:40 -07:00