linux/drivers/block
Keith Busch 03100aada9 block: Replace SG_GAPS with new queue limits mask
The SG_GAPS queue flag caused checks for bio vector alignment against
PAGE_SIZE, but the device may have different constraints. This patch
adds a queue limits so a driver with such constraints can set to allow
requests that would have been unnecessarily split. The new gaps check
takes the request_queue as a parameter to simplify the logic around
invoking this function.

This new limit makes the queue flag redundant, so removing it and
all usage. Device-mappers will inherit the correct settings through
blk_stack_limits().

Signed-off-by: Keith Busch <keith.busch@intel.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
2015-08-19 14:26:02 -07:00
..
aoe Revert "block: remove artifical max_hw_sectors cap" 2015-08-18 13:21:13 -07:00
drbd block: kill merge_bvec_fn() completely 2015-08-13 12:31:57 -06:00
mtip32xx
paride
rsxx block: make generic_make_request handle arbitrarily sized bios 2015-08-13 12:31:33 -06:00
xen-blkback block: add a bi_error field to struct bio 2015-07-29 08:55:15 -06:00
zram block: make generic_make_request handle arbitrarily sized bios 2015-08-13 12:31:33 -06:00
amiflop.c
ataflop.c
brd.c block: add a bi_error field to struct bio 2015-07-29 08:55:15 -06:00
cciss.c
cciss.h
cciss_cmd.h
cciss_scsi.c
cciss_scsi.h
cpqarray.c
cpqarray.h
cryptoloop.c
DAC960.c
DAC960.h
floppy.c block: add a bi_error field to struct bio 2015-07-29 08:55:15 -06:00
hd.c
ida_cmd.h
ida_ioctl.h
Kconfig
loop.c block: have drivers use blk_queue_max_discard_sectors() 2015-07-17 08:41:53 -06:00
loop.h
Makefile
mg_disk.c
nbd.c block: have drivers use blk_queue_max_discard_sectors() 2015-07-17 08:41:53 -06:00
null_blk.c block: add a bi_error field to struct bio 2015-07-29 08:55:15 -06:00
nvme-core.c block: Replace SG_GAPS with new queue limits mask 2015-08-19 14:26:02 -07:00
nvme-scsi.c
osdblk.c
pktcdvd.c block: kill merge_bvec_fn() completely 2015-08-13 12:31:57 -06:00
ps3disk.c
ps3vram.c block: make generic_make_request handle arbitrarily sized bios 2015-08-13 12:31:33 -06:00
rbd.c block: kill merge_bvec_fn() completely 2015-08-13 12:31:57 -06:00
rbd_types.h
skd_main.c block: have drivers use blk_queue_max_discard_sectors() 2015-07-17 08:41:53 -06:00
skd_s1120.h
smart1,2.h
sunvdc.c
swim.c
swim3.c
swim_asm.S
sx8.c
umem.c block: make generic_make_request handle arbitrarily sized bios 2015-08-13 12:31:33 -06:00
umem.h
virtio_blk.c
xen-blkfront.c block: add a bi_error field to struct bio 2015-07-29 08:55:15 -06:00
xsysace.c
z2ram.c