android_kernel_samsung_msm8976/drivers/block
Jens Axboe 5836258bca BACKPORT: block: add blk_rq_set_block_pc()
With the optimizations around not clearing the full request at alloc
time, we are leaving some of the needed init for REQ_TYPE_BLOCK_PC
up to the user allocating the request.

Add a blk_rq_set_block_pc() that sets the command type to
REQ_TYPE_BLOCK_PC, and properly initializes the members associated
with this type of request. Update callers to use this function instead
of manipulating rq->cmd_type directly.

Includes fixes from Christoph Hellwig <hch@lst.de> for my half-assed
attempt.

Change-Id: Ifc386dfb951c5d6adebf48ff38135dda28e4b1ce
Signed-off-by: Jens Axboe <axboe@fb.com>
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
2017-04-22 23:03:01 +02:00
..
aoe
drbd drbd: merge_bvec_fn: properly remap bvm->bi_bdev 2015-01-29 17:40:57 -08:00
mtip32xx
paride paride: make 'verbose' parameter an 'int' again 2016-06-07 10:42:51 +02:00
rsxx
xen-blkback
zram Import latest Samsung release 2017-04-18 03:43:52 +02:00
DAC960.c
DAC960.h
Kconfig zram: promote zram from staging 2016-05-18 14:33:57 +05:30
Makefile zram: promote zram from staging 2016-05-18 14:33:57 +05:30
amiflop.c
ataflop.c
brd.c
cciss.c
cciss.h
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cpqarray.c
cpqarray.h
cryptoloop.c
floppy.c
hd.c
ida_cmd.h
ida_ioctl.h
loop.c
mg_disk.c
nbd.c nbd: ratelimit error msgs after socket close 2016-06-07 10:42:52 +02:00
nvme-core.c
nvme-scsi.c
osdblk.c
pktcdvd.c BACKPORT: block: add blk_rq_set_block_pc() 2017-04-22 23:03:01 +02:00
ps3disk.c
ps3vram.c
rbd.c rbd: prevent kernel stack blow up on rbd map 2015-11-09 10:12:58 -08:00
rbd_types.h
smart1,2.h
sunvdc.c sunvdc: don't call VD_OP_GET_VTOC 2014-11-21 09:22:52 -08:00
swim.c
swim3.c
swim_asm.S
sx8.c
umem.c
umem.h
virtio_blk.c
xen-blkfront.c xen-blkfront: check for null drvdata in blkback_changed (XenbusStateClosing) 2015-11-09 10:12:58 -08:00
xsysace.c
z2ram.c